diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-09 23:20:02 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-01-09 23:20:02 (GMT) |
commit | 3194220e83d11edda5825d7dfd059cadcb3cead4 (patch) | |
tree | 089d07eb839f5942af3b325997aa6bcb1aa6867e /Modules | |
parent | 65ce6ecea57394e682ba02e476a07b1553e67e61 (diff) | |
download | CMake-3194220e83d11edda5825d7dfd059cadcb3cead4.zip CMake-3194220e83d11edda5825d7dfd059cadcb3cead4.tar.gz CMake-3194220e83d11edda5825d7dfd059cadcb3cead4.tar.bz2 |
ENH: Cleanup
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CPack.cmake | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index 8c32e20..47dcbe4 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -17,12 +17,14 @@ cpack_set_if_not_set(CPACK_PACKAGE_VERSION_MAJOR "0") cpack_set_if_not_set(CPACK_PACKAGE_VERSION_MINOR "1") cpack_set_if_not_set(CPACK_PACKAGE_VERSION_PATCH "1") cpack_set_if_not_set(CPACK_PACKAGE_VENDOR "Humanity") -cpack_set_if_not_set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${PROJECT_NAME} built using CMake") -cpack_set_if_not_set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_ROOT}/Templates/CPack.GenericDescription.txt") +cpack_set_if_not_set(CPACK_PACKAGE_DESCRIPTION_SUMMARY + "${PROJECT_NAME} built using CMake") +cpack_set_if_not_set(CPACK_PACKAGE_DESCRIPTION_FILE + "${CMAKE_ROOT}/Templates/CPack.GenericDescription.txt") # <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}") + "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}-${CMAKE_SYSTEM_NAME}") IF(NOT EXISTS "${CPACK_PACKAGE_DESCRIPTION_FILE}") MESSAGE(SEND_ERROR "CPack package description file: \"${CPACK_PACKAGE_DESCRIPTION_FILE}\" could not be found.") |