summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/FindQt.cmake14
1 files changed, 5 insertions, 9 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake
index db78d71..f3de113 100644
--- a/Modules/FindQt.cmake
+++ b/Modules/FindQt.cmake
@@ -1,11 +1,11 @@
# Locate Qt include paths and libraries
# This module defines
-QT_INCLUDE_PATH, where to find qt.h, etc.
-QT_QT_LIBRARY, where to find the qt library
-QT_MOX_EXE, where to find the moc tool
-USE_QT_FILE, a file for any CMakeLists.txt file to include to actually link against qt
-QT_WRAP_CPP, This allows the QT_WRAP_CPP command to work.
+# QT_INCLUDE_PATH, where to find qt.h, etc.
+# QT_QT_LIBRARY, where to find the qt library
+# QT_MOX_EXE, where to find the moc tool
+# USE_QT_FILE, a file for any CMakeLists.txt file to include to actually link against qt
+# QT_WRAP_CPP, This allows the QT_WRAP_CPP command to work.
IF (UNIX)
@@ -29,8 +29,6 @@ IF (UNIX)
${path}
)
- LINK_LIBRARIES( ${QT_QT_LIBRARY} )
-
ENDIF (UNIX)
IF (WIN32)
@@ -57,8 +55,6 @@ IF (QT_MOC_EXE)
SET ( QT_WRAP_CPP 1 CACHE BOOL "Can we honour the QT_WRAP_CPP command" )
ENDIF (QT_MOC_EXE)
-SET (USE_QT_FILE ${CMAKE_ROOT}/Modules/LinkQT.cmake CACHE STRING "Include this file to actually link against QT")
-