From 55a6042d9c5e1b644f50a1c475cd683af5ed1f3f Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Thu, 19 Mar 2009 15:44:54 -0400 Subject: BUG: Need to fix find of qtmain library when qmake executable is changed. --- Modules/FindQt4.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index def84a1..f9614d0 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -570,6 +570,10 @@ IF (QT4_QMAKE_FOUND) SET(QT_QAXSERVER_INCLUDE_DIR NOTFOUND) SET(QT_QAXSERVER_LIBRARY_RELEASE NOTFOUND) SET(QT_QAXSERVER_LIBRARY_DEBUG NOTFOUND) + IF(WIN32) + SET(QT_QTMAIN_LIBRARY_DEBUG NOTFOUND) + SET(QT_QTMAIN_LIBRARY_RELEASE NOTFOUND) + ENDIF(WIN32) ENDIF(QT_QMAKE_CHANGED) FOREACH(QT_MODULE ${QT_MODULES}) -- cgit v0.12