summaryrefslogtreecommitdiffstats
path: root/CMakeCPack.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-02-09 14:53:52 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-02-09 14:53:52 (GMT)
commitf6014938cbb4a914ed5b549261a0c06215593c30 (patch)
treeddcf95907670ac1fe393f19f05a06218458a0f03 /CMakeCPack.cmake
parent445f47473c205d9d310a6a51c14fa7ac98c2cad0 (diff)
downloadCMake-f6014938cbb4a914ed5b549261a0c06215593c30.zip
CMake-f6014938cbb4a914ed5b549261a0c06215593c30.tar.gz
CMake-f6014938cbb4a914ed5b549261a0c06215593c30.tar.bz2
ENH: make it so cmake-gui only installs if qt is static on windows
Diffstat (limited to 'CMakeCPack.cmake')
-rw-r--r--CMakeCPack.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeCPack.cmake b/CMakeCPack.cmake
index 24eb061..6532d9e 100644
--- a/CMakeCPack.cmake
+++ b/CMakeCPack.cmake
@@ -7,6 +7,8 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
MARK_AS_ADVANCED(CMAKE_INSTALL_DEBUG_LIBRARIES)
INCLUDE(${CMake_SOURCE_DIR}/Modules/InstallRequiredSystemLibraries.cmake)
ENDIF(EXISTS "${CMAKE_ROOT}/Modules/InstallRequiredSystemLibraries.cmake")
+ # Set the options file that needs to be included inside CMakeCPackOptions.cmake
+ SET(QT_DIALOG_CPACK_OPTIONS_FILE ${CMake_BINARY_DIR}/Source/QtDialog/QtDialogCPack.cmake)
CONFIGURE_FILE("${CMake_SOURCE_DIR}/CMakeCPackOptions.cmake.in"
"${CMake_BINARY_DIR}/CMakeCPackOptions.cmake" @ONLY)
SET(CPACK_PROJECT_CONFIG_FILE "${CMake_BINARY_DIR}/CMakeCPackOptions.cmake")