summaryrefslogtreecommitdiff
path: root/Modules/CPack.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2007-02-13 14:13:51 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2007-02-13 14:13:51 -0500
commitf2c0dbd164796aabe5397f4a053c22fe76030b80 (patch)
treea8d09cd4d91520a25a64c1cf2cccef9182652fd7 /Modules/CPack.cmake
parent4904db4c8f856213fad9976c5b5ce9071dd08bdf (diff)
downloadcmake-f2c0dbd164796aabe5397f4a053c22fe76030b80.tar.gz
ENH: More work on the packaging. Add Applicaitons, add icons, etc
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r--Modules/CPack.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index 50c55a7cf3..7f496aa98e 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -123,6 +123,9 @@ cpack_set_if_not_set(CPACK_OUTPUT_CONFIG_FILE
cpack_set_if_not_set(CPACK_SOURCE_OUTPUT_CONFIG_FILE
"${CMAKE_BINARY_DIR}/CPackSourceConfig.cmake")
+cpack_set_if_not_set(CPACK_USE_DESTDIR ON)
+cpack_set_if_not_set(CPACK_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
cpack_encode_variables()
CONFIGURE_FILE("${cpack_input_file}" "${CPACK_OUTPUT_CONFIG_FILE}" @ONLY IMMEDIATE)