Move variable setting down to where it relates to.

This commit is contained in:
Stephen Kelly 2012-08-17 20:24:14 +02:00
parent 8ab312b693
commit 0b6625c605
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,6 @@ if(NOT QT4_FOUND)
endif() endif()
include(${QT_USE_FILE}) include(${QT_USE_FILE})
set(CMAKE_PACKAGE_QTGUI TRUE)
set(SRCS set(SRCS
AddCacheEntry.cxx AddCacheEntry.cxx
AddCacheEntry.h AddCacheEntry.h
@ -118,5 +117,6 @@ if(APPLE OR WIN32)
") ")
endif() endif()
set(CMAKE_PACKAGE_QTGUI TRUE)
configure_file("${QtDialog_SOURCE_DIR}/QtDialogCPack.cmake.in" configure_file("${QtDialog_SOURCE_DIR}/QtDialogCPack.cmake.in"
"${QtDialog_BINARY_DIR}/QtDialogCPack.cmake" @ONLY) "${QtDialog_BINARY_DIR}/QtDialogCPack.cmake" @ONLY)