ENH: use correct variable for qmake
This commit is contained in:
parent
85856f2f14
commit
5eb6aea9df
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue