summaryrefslogtreecommitdiffstats
path: root/Modules/Qt4ConfigDependentSettings.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/Qt4ConfigDependentSettings.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/Qt4ConfigDependentSettings.cmake')
-rw-r--r--Modules/Qt4ConfigDependentSettings.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/Qt4ConfigDependentSettings.cmake b/Modules/Qt4ConfigDependentSettings.cmake
index 684ec21..4699ecd 100644
--- a/Modules/Qt4ConfigDependentSettings.cmake
+++ b/Modules/Qt4ConfigDependentSettings.cmake
@@ -256,7 +256,6 @@ if(Q_WS_X11)
# X11 libraries Qt always depends on
set(QT_QTGUI_LIB_DEPENDENCIES ${QT_QTGUI_LIB_DEPENDENCIES} ${X11_Xext_LIB} ${X11_X11_LIB})
- set(CMAKE_THREAD_PREFER_PTHREAD 1)
find_package(Threads)
if(CMAKE_USE_PTHREADS_INIT)
set(QT_QTCORE_LIB_DEPENDENCIES ${QT_QTCORE_LIB_DEPENDENCIES} ${CMAKE_THREAD_LIBS_INIT})