diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-01 20:00:07 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-01 20:00:07 (GMT) |
commit | b1b052fd23b8d5335d3db726fcd679ef30ff4ecd (patch) | |
tree | 519da2f2aabad5ebc71d654580fd09280c61e93e /Modules/CPack.cmake | |
parent | 4077d6d80cb446f5c4e3c8739ae05375c6e62540 (diff) | |
download | CMake-b1b052fd23b8d5335d3db726fcd679ef30ff4ecd.zip CMake-b1b052fd23b8d5335d3db726fcd679ef30ff4ecd.tar.gz CMake-b1b052fd23b8d5335d3db726fcd679ef30ff4ecd.tar.bz2 |
ENH: Several changes to for NSIS
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r-- | Modules/CPack.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index 26b3c65..c0dd774 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -31,6 +31,10 @@ cpack_set_if_not_set(CPACK_RESOURCE_FILE_README cpack_set_if_not_set(CPACK_RESOURCE_FILE_WELCOME "${CMAKE_ROOT}/Templates/CPack.GenericWelcome.txt") +IF(CPACK_NSIS_MODIFY_PATH) + SET(CPACK_NSIS_MODIFY_PATH ON) +ENDIF(CPACK_NSIS_MODIFY_PATH) + # <project>-<major>.<minor>.<patch>-<release>-<platform>.<pkgtype> cpack_set_if_not_set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}-${CMAKE_SYSTEM_NAME}") |