Browse Source

fixed some stupid mistakes
I thought I had tested these - honest

Ian Scott 24 years ago
parent
commit
7008bdcb10
1 changed files with 5 additions and 9 deletions
  1. 5 9
      Modules/FindQt.cmake

+ 5 - 9
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")
-