diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-09-21 20:36:31 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2023-09-22 20:10:10 +0300 |
commit | 152d0771ddd0cffcac9042ad1a66f110d228eee2 (patch) | |
tree | d5281bcc9ffcd86e465e571865cd8695123ccdf2 | |
parent | MSVC: Remove Visual Studio project files and update INSTALL-MSVC.txt. (diff) | |
download | xz-152d0771ddd0cffcac9042ad1a66f110d228eee2.tar.xz |
CMake: Add a comment about threads on Cygwin.
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 13ff7b1c..246d11a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -363,6 +363,7 @@ if(ENABLE_THREADS) find_package(Threads REQUIRED) # If both Windows and posix threading are available, prefer Windows. + # Note that on Cygwin CMAKE_USE_WIN32_THREADS_INIT is false. if(CMAKE_USE_WIN32_THREADS_INIT AND NOT ENABLE_THREADS STREQUAL "posix") if(ENABLE_THREADS STREQUAL "win95" OR (ENABLE_THREADS STREQUAL "ON" |