diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2012-02-20 20:02:11 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2012-02-20 20:02:11 (GMT) |
commit | f5066217db3911754006ae64e2a9001382ff66e1 (patch) | |
tree | 4aac6532ed4ad89e4306f6170f34955fade53c29 /Modules/FindQt3.cmake | |
parent | dc4c24ac79e739212004e66acc33996f6b3431cf (diff) | |
download | CMake-f5066217db3911754006ae64e2a9001382ff66e1.zip CMake-f5066217db3911754006ae64e2a9001382ff66e1.tar.gz CMake-f5066217db3911754006ae64e2a9001382ff66e1.tar.bz2 |
Fix paths/hints for finding qtmain.
Diffstat (limited to 'Modules/FindQt3.cmake')
-rw-r--r-- | Modules/FindQt3.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/FindQt3.cmake b/Modules/FindQt3.cmake index bacbb07..86236cc 100644 --- a/Modules/FindQt3.cmake +++ b/Modules/FindQt3.cmake @@ -183,11 +183,14 @@ ENDIF(QT_UIC_EXECUTABLE) IF (WIN32) FIND_LIBRARY(QT_QTMAIN_LIBRARY qtmain + HINTS + $ENV{QTDIR}/lib "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.1;InstallDir]/lib" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.2.0;InstallDir]/lib" "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\3.1.0;InstallDir]/lib" + PATHS "$ENV{ProgramFiles}/qt/lib" - $ENV{QTDIR}/lib "C:/Program Files/qt/lib" + "C:/Program Files/qt/lib" DOC "This Library is only needed by and included with Qt3 on MSWindows. It should be NOTFOUND, undefined or IGNORE otherwise." ) ENDIF (WIN32) |