summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/FindQt.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake
index aacdb41..0d5e90a 100644
--- a/Modules/FindQt.cmake
+++ b/Modules/FindQt.cmake
@@ -59,7 +59,7 @@ IF(QT_QMAKE_EXECUTABLE_FINDQT)
EXEC_PROGRAM( ${QT_QMAKE_EXECUTABLE_FINDQT}
ARGS "-query QT_INSTALL_HEADERS"
OUTPUT_VARIABLE qt_headers )
-ENDIF(QT_QMAKE_EXECUTABLE)
+ENDIF(QT_QMAKE_EXECUTABLE_FINDQT)
FIND_FILE( QT4_QGLOBAL_H_FILE qglobal.h
"${QT_SEARCH_PATH}/Qt/include"