]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
CMake: Add a comment about threads on Cygwin.
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 21 Sep 2023 17:36:31 +0000 (20:36 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 22 Sep 2023 17:10:10 +0000 (20:10 +0300)
CMakeLists.txt

index 13ff7b1cd1a7744d8946658c71315978353c7278..246d11a10606b5f69b358c7660cc35c9d7e26f4b 100644 (file)
@@ -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"