Browse Source

Move variable setting down to where it relates to.

Stephen Kelly 13 years ago
parent
commit
0b6625c605
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/QtDialog/CMakeLists.txt

+ 1 - 1
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)