Skip to content
Snippets Groups Projects
Commit 4ad3af61 authored by calrama's avatar calrama
Browse files

Update package filename

parent cde85cb8
No related branches found
No related tags found
No related merge requests found
Pipeline #26452 passed
...@@ -56,4 +56,10 @@ elseif(PACKAGE_TXZ) ...@@ -56,4 +56,10 @@ elseif(PACKAGE_TXZ)
set(CPACK_GENERATOR "TXZ") set(CPACK_GENERATOR "TXZ")
endif() endif()
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}")
string(APPEND CPACK_PACKAGE_FILE_NAME "-${CPACK_PACKAGE_VERSION}")
if(NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
string(APPEND CPACK_PACKAGE_FILE_NAME "-${CMAKE_SYSTEM_NAME}")
endif()
include(CPack) include(CPack)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment