diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-10-12 17:05:50 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-10-12 17:05:50 (GMT) |
commit | e31dc3abe554cdae307d654df9a245d8e72f55d4 (patch) | |
tree | 26e7b683763cc56765f0404c15bbb7458d8bdfae /Modules | |
parent | 77a42276525e6ce89945af73b97d5a1d5886ad1b (diff) | |
download | CMake-e31dc3abe554cdae307d654df9a245d8e72f55d4.zip CMake-e31dc3abe554cdae307d654df9a245d8e72f55d4.tar.gz CMake-e31dc3abe554cdae307d654df9a245d8e72f55d4.tar.bz2 |
ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CPack.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index 4af1169..913d874 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -56,6 +56,8 @@ cpack_set_if_not_set(CPACK_RESOURCE_FILE_README cpack_set_if_not_set(CPACK_RESOURCE_FILE_WELCOME "${CMAKE_ROOT}/Templates/CPack.GenericWelcome.txt") +cpack_set_if_not_set(CPACK_MODULE_PATH "${CMAKE_MODULE_PATH}") + IF(CPACK_NSIS_MODIFY_PATH) SET(CPACK_NSIS_MODIFY_PATH ON) ENDIF(CPACK_NSIS_MODIFY_PATH) |