fixed some stupid mistakes

I thought I had tested these - honest
This commit is contained in:
Ian Scott 2001-10-16 15:40:14 -04:00
parent 99423f444a
commit 7008bdcb10
1 changed files with 5 additions and 9 deletions

View File

@ -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")