diff options
| author | 2018-04-25 18:07:30 -0400 | |
|---|---|---|
| committer | 2018-04-25 18:07:30 -0400 | |
| commit | 9b1b081cfdb1c0fb6457278775e0823f8bc10f62 (patch) | |
| tree | ce8840148d8445055ba9e4f12263b2208f234c16 /cmake/Package.cmake | |
Import Upstream version 2.0.0+dfsgupstream/2.0.0+dfsg
Diffstat (limited to 'cmake/Package.cmake')
| -rw-r--r-- | cmake/Package.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmake/Package.cmake b/cmake/Package.cmake new file mode 100644 index 0000000..da65de7 --- /dev/null +++ b/cmake/Package.cmake @@ -0,0 +1,9 @@ +if (UNIX) + set (CPACK_PACKAGE_VERSION_MAJOR ${BARRIER_VERSION_MAJOR}) + 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() |
