diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-09-14 13:12:50 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-09-14 13:12:50 (GMT) |
commit | f81412aedf3f14b463feb03c64aa68aa42e5ef7e (patch) | |
tree | 558f588e34f598182608cc9451b2b304c9541be7 /Modules | |
parent | 7f185a465b7dee3c2696ba7295f556cac9887558 (diff) | |
download | CMake-f81412aedf3f14b463feb03c64aa68aa42e5ef7e.zip CMake-f81412aedf3f14b463feb03c64aa68aa42e5ef7e.tar.gz CMake-f81412aedf3f14b463feb03c64aa68aa42e5ef7e.tar.bz2 |
ENH: if qt4 qmake is found then set QT_QMAKE_EXECUTABLE to that value so that the same one will be used in FindQt4.cmake
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindQt.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake index 0d5e90a..4ee56f8 100644 --- a/Modules/FindQt.cmake +++ b/Modules/FindQt.cmake @@ -48,6 +48,7 @@ IF(QT_QMAKE_EXECUTABLE_FINDQT) EXEC_PROGRAM(${QT_QMAKE_EXECUTABLE_FINDQT} ARGS "-query QT_VERSION" OUTPUT_VARIABLE QTVERSION) IF(QTVERSION MATCHES "4.*") + SET(QT_QMAKE_EXECUTABLE ${QT_QMAKE_EXECUTABLE_FINDQT} CACHE PATH "QT4 qmake program.") SET(QT4_INSTALLED TRUE) ENDIF(QTVERSION MATCHES "4.*") IF(QTVERSION MATCHES "Unknown") |