aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/FindQt4.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/FindQt4.cmake b/modules/FindQt4.cmake
index 92df1def..3b8dfdd0 100644
--- a/modules/FindQt4.cmake
+++ b/modules/FindQt4.cmake
@@ -699,9 +699,6 @@ IF (QT4_QMAKE_FOUND)
NO_DEFAULT_PATH
)
- # Make variables changeble to the advanced user
- MARK_AS_ADVANCED( QT_INCLUDE_DIR QT_QT_INCLUDE_DIR)
-
# Set QT_INCLUDE_DIR by removine "/QtCore" in the string ${QT_QTCORE_INCLUDE_DIR}
IF( QT_QTCORE_INCLUDE_DIR AND NOT QT_INCLUDE_DIR)
IF (QT_USE_FRAMEWORKS)
@@ -718,6 +715,9 @@ IF (QT4_QMAKE_FOUND)
ENDIF(Qt4_FIND_REQUIRED)
ENDIF( NOT QT_INCLUDE_DIR)
+ # Make variables changeble to the advanced user
+ MARK_AS_ADVANCED( QT_INCLUDE_DIR QT_QT_INCLUDE_DIR)
+
# Set QT_INCLUDES
SET( QT_INCLUDES ${QT_QT_INCLUDE_DIR} ${QT_MKSPECS_DIR}/default ${QT_INCLUDE_DIR} )