diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-10-31 16:55:04 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-10-31 16:55:04 (GMT) |
commit | e65c40f94a15f5e70695bd5c08444fc42262940c (patch) | |
tree | f3ef20ff363eec1b200c7373ddd21c9a70cffcb3 /CMakeCPack.cmake | |
parent | fb621feefcfddffa27ec429bab85ff5a711e075d (diff) | |
download | CMake-e65c40f94a15f5e70695bd5c08444fc42262940c.zip CMake-e65c40f94a15f5e70695bd5c08444fc42262940c.tar.gz CMake-e65c40f94a15f5e70695bd5c08444fc42262940c.tar.bz2 |
ENH: add CPACK_PROJECT_CONFIG_FILE option to CPack
Diffstat (limited to 'CMakeCPack.cmake')
-rw-r--r-- | CMakeCPack.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeCPack.cmake b/CMakeCPack.cmake index b988d17..f511895 100644 --- a/CMakeCPack.cmake +++ b/CMakeCPack.cmake @@ -4,6 +4,9 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") SET(CMAKE_INSTALL_MFC_LIBRARIES 1) INCLUDE(InstallRequiredSystemLibraries) ENDIF(EXISTS "${CMAKE_ROOT}/Modules/InstallRequiredSystemLibraries.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") SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "CMake is a build tool") SET(CPACK_PACKAGE_VENDOR "Kitware") SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/Copyright.txt") |