summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-09-12 13:55:02 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-09-12 13:55:02 (GMT)
commit5eb6aea9dfc128319b789b06cb7a623eb361791a (patch)
treecae403e4b71211f574573ae7df100bb679306a03 /Modules
parent85856f2f1476780facd65a5e77051a3cd848af4e (diff)
downloadCMake-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.cmake2
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)