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;