summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2013-04-02 13:46:51 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2013-04-02 13:46:51 (GMT)
commitbec8e64c735f8953bfe4b26a886add17f11fe440 (patch)
tree45f0f0413cec604660803ff53b76f576e83028cc
parent3423915720c10caf2531698d2482a4058d53293a (diff)
downloadCMake-bec8e64c735f8953bfe4b26a886add17f11fe440.zip
CMake-bec8e64c735f8953bfe4b26a886add17f11fe440.tar.gz
CMake-bec8e64c735f8953bfe4b26a886add17f11fe440.tar.bz2
Qt4: Fix typo setting a variable for FindThreads.
Fixes bug 14055.
-rw-r--r--Modules/Qt4ConfigDependentSettings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Qt4ConfigDependentSettings.cmake b/Modules/Qt4ConfigDependentSettings.cmake
index 6db5da1..88dc8ec 100644
--- a/Modules/Qt4ConfigDependentSettings.cmake
+++ b/Modules/Qt4ConfigDependentSettings.cmake
@@ -260,7 +260,7 @@ 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_PTHREADS 1)
+ 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})