From 5eb6aea9dfc128319b789b06cb7a623eb361791a Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 12 Sep 2005 09:55:02 -0400 Subject: ENH: use correct variable for qmake --- Modules/FindQt4.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12