Allow msys2 clang64 to compile.

This commit is contained in:
f478ccf2 2024-07-25 11:56:26 -04:00 committed by Paul Koning
parent 65e8799872
commit 717410c8c1

View file

@ -12,7 +12,7 @@ set(AIO_FLAGS)
if (WITH_ASYNC) if (WITH_ASYNC)
include(ExternalProject) 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. # Pthreads4w: pthreads for windows.
if (USING_VCPKG) if (USING_VCPKG)
find_package(PThreads4W REQUIRED) find_package(PThreads4W REQUIRED)