ENH: use correct variable for qmake

This commit is contained in:
Bill Hoffman 2005-09-12 09:55:02 -04:00
parent 85856f2f14
commit 5eb6aea9df
1 changed files with 1 additions and 1 deletions

View File

@ -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)