From 7008bdcb10bdd4f7d25af3ae3f1bd65106b34682 Mon Sep 17 00:00:00 2001 From: Ian Scott Date: Tue, 16 Oct 2001 15:40:14 -0400 Subject: [PATCH] fixed some stupid mistakes I thought I had tested these - honest --- Modules/FindQt.cmake | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake index db78d7193..f3de1130a 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") -