diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-09-12 13:55:02 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-09-12 13:55:02 (GMT) |
commit | 5eb6aea9dfc128319b789b06cb7a623eb361791a (patch) | |
tree | cae403e4b71211f574573ae7df100bb679306a03 /Modules | |
parent | 85856f2f1476780facd65a5e77051a3cd848af4e (diff) | |
download | CMake-5eb6aea9dfc128319b789b06cb7a623eb361791a.zip CMake-5eb6aea9dfc128319b789b06cb7a623eb361791a.tar.gz CMake-5eb6aea9dfc128319b789b06cb7a623eb361791a.tar.bz2 |
ENH: use correct variable for qmake
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindQt4.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index 1c346a4..347640a 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -132,7 +132,7 @@ FIND_PROGRAM(QT_QMAKE_EXECUTABLE NAMES qmake PATHS ${QT4_PATHS} ) IF(QT_QMAKE_EXECUTABLE) - EXEC_PROGRAM(${QMAKE_PATH} ARGS "-query QT_VERSION" + EXEC_PROGRAM(${QT_QMAKE_EXECUTABLE} ARGS "-query QT_VERSION" OUTPUT_VARIABLE QTVERSION) IF(QTVERSION MATCHES "4.*") SET(QT4_QMAKE_FOUND TRUE) |