diff --git a/cmake/Package.cmake b/cmake/Package.cmake index 95b9a03b..da65de71 100644 --- a/cmake/Package.cmake +++ b/cmake/Package.cmake @@ -3,5 +3,7 @@ if (UNIX) set (CPACK_PACKAGE_VERSION_MINOR ${BARRIER_VERSION_MINOR}) set (CPACK_PACKAGE_VERSION_PATCH ${BARRIER_VERSION_PATCH}) set (CPACK_GENERATOR "TBZ2") + set (CPACK_SOURCE_GENERATOR "TXZ") + set (CPACK_SOURCE_IGNORE_FILES "/build/;\.gitignore$;/\.git/;/.github/;\.swp$;build_env\.*") include (CPack) endif()