Skip to content

Commit

Permalink
Allow msys2 clang64 to compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
f478ccf2 authored and pkoning2 committed Sep 4, 2024
1 parent 65e8799 commit 717410c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/pthreads-dep.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(AIO_FLAGS)
if (WITH_ASYNC)
include(ExternalProject)

if (MSVC OR (WIN32 AND CMAKE_C_COMPILER_ID MATCHES ".*Clang"))
if (MSVC OR (WIN32 AND CMAKE_C_COMPILER_ID MATCHES ".*Clang.*with MSVC-like command-line.*"))
# Pthreads4w: pthreads for windows.
if (USING_VCPKG)
find_package(PThreads4W REQUIRED)
Expand Down

0 comments on commit 717410c

Please sign in to comment.