mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
CMake: Add a comment about threads on Cygwin.
This commit is contained in:
parent
5be6275f19
commit
1595f454d5
1 changed files with 1 additions and 0 deletions
|
@ -364,6 +364,7 @@ if(ENABLE_THREADS)
|
||||||
find_package(Threads REQUIRED)
|
find_package(Threads REQUIRED)
|
||||||
|
|
||||||
# If both Windows and posix threading are available, prefer Windows.
|
# 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(CMAKE_USE_WIN32_THREADS_INIT AND NOT ENABLE_THREADS STREQUAL "posix")
|
||||||
if(ENABLE_THREADS STREQUAL "win95"
|
if(ENABLE_THREADS STREQUAL "win95"
|
||||||
OR (ENABLE_THREADS STREQUAL "ON"
|
OR (ENABLE_THREADS STREQUAL "ON"
|
||||||
|
|
Loading…
Reference in a new issue