summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-08-17 18:24:14 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-08-21 11:36:26 (GMT)
commit0b6625c605b95ef7e936717e946906d422d3d4f7 (patch)
tree9da64b2d6246af0eeb6ecd77b7ba30054f5cb6d4
parent8ab312b6930c52a8f04688d8834383be4f09f5d5 (diff)
downloadCMake-0b6625c605b95ef7e936717e946906d422d3d4f7.zip
CMake-0b6625c605b95ef7e936717e946906d422d3d4f7.tar.gz
CMake-0b6625c605b95ef7e936717e946906d422d3d4f7.tar.bz2
Move variable setting down to where it relates to.
-rw-r--r--Source/QtDialog/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt
index 00fc9fa..625e6d1 100644
--- a/Source/QtDialog/CMakeLists.txt
+++ b/Source/QtDialog/CMakeLists.txt
@@ -19,7 +19,6 @@ if(NOT QT4_FOUND)
endif()
include(${QT_USE_FILE})
-set(CMAKE_PACKAGE_QTGUI TRUE)
set(SRCS
AddCacheEntry.cxx
AddCacheEntry.h
@@ -118,5 +117,6 @@ if(APPLE OR WIN32)
")
endif()
+set(CMAKE_PACKAGE_QTGUI TRUE)
configure_file("${QtDialog_SOURCE_DIR}/QtDialogCPack.cmake.in"
"${QtDialog_BINARY_DIR}/QtDialogCPack.cmake" @ONLY)