summaryrefslogtreecommitdiffstats
path: root/Modules/FindDCMTK.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-12-07 18:28:45 (GMT)
committerBrad King <brad.king@kitware.com>2018-12-07 18:33:01 (GMT)
commit83dab0c123c0831c736fed5de3c24c2168e40541 (patch)
tree7e5cf3bbcd93c39f24553a869647a960fac853b2 /Modules/FindDCMTK.cmake
parent99a224e3ee0b6a770c388313a7b32746a95514e8 (diff)
downloadCMake-83dab0c123c0831c736fed5de3c24c2168e40541.zip
CMake-83dab0c123c0831c736fed5de3c24c2168e40541.tar.gz
CMake-83dab0c123c0831c736fed5de3c24c2168e40541.tar.bz2
FindThreads: Drop IRIX-specific options and results
We do not need to support IRIX anymore, so drop relevant parts. In particular, the `CMAKE_THREAD_PREFER_PTHREAD` is frequently confused with `THREADS_PREFER_PTHREAD_FLAG`. Also remove references to the IRIX-specific options and results from other modules and tests.
Diffstat (limited to 'Modules/FindDCMTK.cmake')
-rw-r--r--Modules/FindDCMTK.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/FindDCMTK.cmake b/Modules/FindDCMTK.cmake
index 302c089..111e0ff 100644
--- a/Modules/FindDCMTK.cmake
+++ b/Modules/FindDCMTK.cmake
@@ -200,7 +200,6 @@ if(DCMTK_oflog_LIBRARY_RELEASE OR DCMTK_oflog_LIBRARY_DEBUG)
# Hack - Not having a DCMTKConfig.cmake file to read the settings from, we will attempt to
# find the library in all cases.
# Ideally, pthread library should be discovered only if DCMTK_WITH_THREADS is enabled.
- set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
find_package(Threads)
endif()