mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:19:00 +08:00
13 lines
335 B
Diff
13 lines
335 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 8d2e9f9..110c245 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -591,6 +591,7 @@ set(JAS_HAVE_WIN32_THREADS FALSE)
|
|
if(JAS_ENABLE_MULTITHREADING_SUPPORT)
|
|
check_c_source_compiles("
|
|
#include <threads.h>
|
|
+ #include <stdatomic.h>
|
|
int main() {
|
|
thrd_t thread;
|
|
mtx_t mutex;
|