diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake index aacdb41bc..0d5e90a4a 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"