Commit b13aaadf authored by Arnaud Billon's avatar Arnaud Billon
Browse files

[refactor] Move CPACK_ variables to bundle scripts

parent 3358b995
# Crossplatform Bundling scripts for LidarView
#Sanitize checks
if(NOT package_suffix )
message(FATAL_ERROR "package_suffix not set")
endif()
# Enable CPack packaging.
include(${LidarViewSuperBuild_SOURCE_DIR}/../Application/SoftwareInformation/branding.cmake)
......@@ -28,6 +33,10 @@ include(${LidarViewSuperBuild_SOURCE_DIR}/lidarview-superbuild/Projects/getdate.
GET_DATE()
set(PACKAGE_TIMESTAMP "${GD_YEAR}${GD_MONTH}${GD_DAY}")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${SOFTWARE_NAME}")
set(CPACK_PACKAGE_NAME "${SOFTWARE_NAME}")
set(CPACK_PACKAGE_VENDOR "${VENDOR}")
set(CPACK_COMPONENT_LIDARVIEW_DISPLAY_NAME ${SOFTWARE_NAME})
set(CPACK_PACKAGE_VERSION_MAJOR ${LV_VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${LV_VERSION_MINOR})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment