summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt.cmake
diff options
context:
space:
mode:
authorIan Scott <ian.m.scott@stud.man.ac.uk>2001-10-16 19:40:14 (GMT)
committerIan Scott <ian.m.scott@stud.man.ac.uk>2001-10-16 19:40:14 (GMT)
commit7008bdcb10bdd4f7d25af3ae3f1bd65106b34682 (patch)
tree652303043c38ec25802963d84be120f881aaa6b3 /Modules/FindQt.cmake
parent99423f444a61ee12733aaa35102298a93390e24f (diff)
downloadCMake-7008bdcb10bdd4f7d25af3ae3f1bd65106b34682.zip
CMake-7008bdcb10bdd4f7d25af3ae3f1bd65106b34682.tar.gz
CMake-7008bdcb10bdd4f7d25af3ae3f1bd65106b34682.tar.bz2
fixed some stupid mistakes
I thought I had tested these - honest
Diffstat (limited to 'Modules/FindQt.cmake')
-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")
-