From 717410c8c1e64a42110e19fea0c930d5ff336b5d Mon Sep 17 00:00:00 2001 From: f478ccf2 <115742507+f478ccf2@users.noreply.github.com> Date: Thu, 25 Jul 2024 11:56:26 -0400 Subject: [PATCH] Allow msys2 clang64 to compile. --- cmake/pthreads-dep.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/pthreads-dep.cmake b/cmake/pthreads-dep.cmake index ff7b0614..81cae146 100644 --- a/cmake/pthreads-dep.cmake +++ b/cmake/pthreads-dep.cmake @@ -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)