Source package excludes .git and generate only TGZ

This commit is contained in:
Jon Siwek 2010-11-19 11:59:22 -06:00
parent 0878e9b8f1
commit 4982c02eba
2 changed files with 2 additions and 1 deletions

View file

@ -12,6 +12,7 @@
# CPACK_GENERATOR is set by this module
set(CPACK_GENERATOR TGZ)
set(CPACK_SOURCE_GENERATOR TGZ)
if (APPLE)
list(APPEND CPACK_GENERATOR PackageMaker)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")