diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2009-03-19 19:44:54 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2009-03-19 19:44:54 (GMT) |
commit | 55a6042d9c5e1b644f50a1c475cd683af5ed1f3f (patch) | |
tree | 87d21daf8b013548a436dbe64d13aa0557dc3988 /Modules | |
parent | 1a13469a26e73475005c5f9c96858c97853815fa (diff) | |
download | CMake-55a6042d9c5e1b644f50a1c475cd683af5ed1f3f.zip CMake-55a6042d9c5e1b644f50a1c475cd683af5ed1f3f.tar.gz CMake-55a6042d9c5e1b644f50a1c475cd683af5ed1f3f.tar.bz2 |
BUG: Need to fix find of qtmain library when qmake executable is changed.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindQt4.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
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}) |