summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindQt.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake
index 0d5e90a..4ee56f8 100644
--- a/Modules/FindQt.cmake
+++ b/Modules/FindQt.cmake
@@ -48,6 +48,7 @@ IF(QT_QMAKE_EXECUTABLE_FINDQT)
EXEC_PROGRAM(${QT_QMAKE_EXECUTABLE_FINDQT} ARGS "-query QT_VERSION"
OUTPUT_VARIABLE QTVERSION)
IF(QTVERSION MATCHES "4.*")
+ SET(QT_QMAKE_EXECUTABLE ${QT_QMAKE_EXECUTABLE_FINDQT} CACHE PATH "QT4 qmake program.")
SET(QT4_INSTALLED TRUE)
ENDIF(QTVERSION MATCHES "4.*")
IF(QTVERSION MATCHES "Unknown")