File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ set(CPACK_COMPONENT_DOC_DESCRIPTION "Documentation for the AXR SDK and examples"
5757# Filenames
5858include (PackageFilenames)
5959package_file_name(CPACK_PACKAGE_FILE_NAME "${AXR_PACKAGE_PREFIX} " "${AXR_VERSION_STRING} " )
60- src_package_file_name(CPACK_SOURCE_PACKAGE_FILE_NAME "${AXR_PACKAGE_PREFIX} " "${AXR_VERSION_STRING} " )
60+ src_package_file_name(CPACK_SOURCE_PACKAGE_FILE_NAME "libaxr " "${AXR_VERSION_STRING} " )
6161set (CPACK_SOURCE_IGNORE_FILES ".git" ".DS_Store" "thumbs.db" "CMakeLists.txt.user" )
6262
6363# Source package
Original file line number Diff line number Diff line change 11if (CPACK_GENERATOR STREQUAL "DEB" OR CPACK_GENERATOR STREQUAL "RPM" )
22 set (CPACK_DEB_COMPONENT_INSTALL ON )
33 set (CPACK_RPM_COMPONENT_INSTALL ON )
4- elseif (CPACK_GENERATOR STREQUAL "TGZ" )
4+ elseif (CPACK_GENERATOR STREQUAL "TGZ" AND NOT CPACK_PACKAGE_FILE_NAME MATCHES "-src" )
55 set (CPACK_PACKAGE_FILE_NAME "libaxr-${AXR_VERSION_STRING} -OPERATING_SYSTEM-${CMAKE_TARGET_ARCHITECTURE_CODE} " )
66else ()
77 # Runtime packages on NSIS/WIX/PackageMaker don't need headers and documentation
You can’t perform that action at this time.
0 commit comments