Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
8800c0654a
|
@ -31,10 +31,8 @@ if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|||
add_definitions (-DNDEBUG)
|
||||
endif()
|
||||
|
||||
#
|
||||
# Barrier version
|
||||
#
|
||||
include (cmake/Version.cmake)
|
||||
include (cmake/Package.cmake)
|
||||
|
||||
# TODO: Find out why we need these, and remove them
|
||||
if (COMMAND cmake_policy)
|
||||
|
|
|
@ -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()
|
Loading…
Reference in New Issue