ENH: Add QT_ASSISTANTCLIENT_LIBRARY support. Fixes Bug #425 - Suggsted mod to FindQt.cmake to handle qassistantclient.lib

This commit is contained in:
Andy Cedilnik 2003-12-29 14:19:07 -05:00
parent bc16c68a14
commit de30a184a2
1 changed files with 23 additions and 5 deletions

View File

@ -38,6 +38,17 @@ FIND_LIBRARY(QT_QT_LIBRARY
C:/Progra~1/qt/lib
)
FIND_LIBRARY(QT_QASSISTANTCLIENT_LIBRARY
NAMES qassistantclient
PATHS
$ENV{QTDIR}/lib
/usr/local/qt/lib
/usr/local/lib
/usr/lib
/usr/share/qt3/lib
C:/Progra~1/qt/lib
)
FIND_PROGRAM(QT_MOC_EXECUTABLE moc
$ENV{QTDIR}/bin C:/Progra~1/qt/bin
)
@ -85,6 +96,12 @@ IF(QT_INCLUDE_DIR)
SET (QT_LIBRARIES ${QT_QT_LIBRARY} )
ENDIF (WIN32)
IF (QT_QASSISTANTCLIENT_LIBRARY)
SET (QT_LIBRARIES ${QT_QASSISTANTCLIENT_LIBRARY} ${QT_LIBRARIES})
ENDIF (QT_QASSISTANTCLIENT_LIBRARY)
# Backwards compatibility for CMake1.4 and 1.2
SET (QT_MOC_EXE ${QT_MOC_EXECUTABLE} )
SET (QT_UIC_EXE ${QT_UIC_EXECUTABLE} )
@ -111,6 +128,7 @@ MARK_AS_ADVANCED(
QT_INCLUDE_DIR
QT_QT_LIBRARY
QT_QTMAIN_LIBRARY
QT_QASSISTANTCLIENT_LIBRARY
QT_UIC_EXECUTABLE
QT_MOC_EXECUTABLE
QT_WRAP_CPP