summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt3.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-02-28 15:27:30 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-02-28 15:27:30 (GMT)
commit7603244509ad40a5109476f20542bd43354ceba7 (patch)
treee8676b7078ef74fa3584fb4e678cb20ca2935db6 /Modules/FindQt3.cmake
parent7db64cdb2831e76daf59fff3715ebb1fb1fc3747 (diff)
downloadCMake-7603244509ad40a5109476f20542bd43354ceba7.zip
CMake-7603244509ad40a5109476f20542bd43354ceba7.tar.gz
CMake-7603244509ad40a5109476f20542bd43354ceba7.tar.bz2
ENH: use program files env for searching
Diffstat (limited to 'Modules/FindQt3.cmake')
-rw-r--r--Modules/FindQt3.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/Modules/FindQt3.cmake b/Modules/FindQt3.cmake
index 78267ca..6c24779 100644
--- a/Modules/FindQt3.cmake
+++ b/Modules/FindQt3.cmake
@@ -154,9 +154,10 @@ ENDIF(QT_UIC_EXECUTABLE)
IF (WIN32)
FIND_LIBRARY(QT_QTMAIN_LIBRARY qtmain
- "[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"
+ "[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"
+ "$ENV{ProgramFiles}/qt/lib"
$ENV{QTDIR}/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."
)