From 9704c8f8c3ddb830eefd06e23d2a64e6b091a5a2 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 25 May 2006 11:56:49 -0400 Subject: ENH: add qtmain to findqt --- Modules/FindQt4.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index 8f8fa1d..ed2d055 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -568,6 +568,12 @@ IF (QT4_QMAKE_FOUND) FIND_LIBRARY(QT_QTDESIGNER_LIBRARY_RELEASE NAMES QtDesigner QtDesigner4 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH) FIND_LIBRARY(QT_QTDESIGNER_LIBRARY_DEBUG NAMES QtDesigner_debug QtDesignerd4 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH) + # Set QT_QTMAIN_LIBRARY + IF(WIN32) + FIND_LIBRARY(QT_QTMAIN_LIBRARY_RELEASE NAMES qtmain PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH) + FIND_LIBRARY(QT_QTMAIN_LIBRARY_DEBUG NAMES qtmaind PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH) + ENDIF(WIN32) + ############################################ # # Check the existence of the libraries. -- cgit v0.12