diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-09 17:20:07 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-09 17:20:07 (GMT) |
commit | e36ae0fcb8bcc4383111b1c2ba4b0a7770704745 (patch) | |
tree | 7c4792fbe393584fb881d55bb726555b82337c7f /Modules | |
parent | fbdac25f8182a6a33e6c3baa90cce55b9417a6af (diff) | |
download | CMake-e36ae0fcb8bcc4383111b1c2ba4b0a7770704745.zip CMake-e36ae0fcb8bcc4383111b1c2ba4b0a7770704745.tar.gz CMake-e36ae0fcb8bcc4383111b1c2ba4b0a7770704745.tar.bz2 |
ENH: Several cleanups and support for multiple generators
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CPack.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index 18fe53a..4af1169 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -92,13 +92,13 @@ cpack_check_file_exists("${CPACK_RESOURCE_FILE_WELCOME}" "welcome resource") IF(NOT CPACK_GENERATOR) IF(UNIX) IF(APPLE) - SET(CPACK_GENERATOR "PackageMaker") + SET(CPACK_GENERATOR "PackageMaker;STGZ;TGZ") ELSE(APPLE) - SET(CPACK_GENERATOR "STGZ") + SET(CPACK_GENERATOR "STGZ;TGZ;TZ") ENDIF(APPLE) - SET(CPACK_SOURCE_GENERATOR "TGZ") + SET(CPACK_SOURCE_GENERATOR "TGZ;TZ") ELSE(UNIX) - SET(CPACK_GENERATOR "NSIS") + SET(CPACK_GENERATOR "NSIS;ZIP") SET(CPACK_SOURCE_GENERATOR "ZIP") ENDIF(UNIX) ENDIF(NOT CPACK_GENERATOR) |