Skip to content

Commit 9687b8e

Browse files
committed
Fix source package file name for .tar.gz packages.
1 parent 233198e commit 9687b8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmake/PackageOverrides.cmake.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if(CPACK_GENERATOR STREQUAL "DragNDrop" OR CPACK_GENERATOR STREQUAL "DEB" OR CPA
1313
set(CPACK_DEB_COMPONENT_INSTALL ON)
1414
set(CPACK_RPM_COMPONENT_INSTALL ON)
1515
endif()
16-
elseif(CPACK_GENERATOR STREQUAL "TGZ")
16+
elseif(CPACK_GENERATOR STREQUAL "TGZ" AND NOT CPACK_PACKAGE_FILE_NAME MATCHES "-src")
1717
set(CPACK_PACKAGE_FILE_NAME "axr-browser-${BROWSER_VERSION_STRING}-OPERATING_SYSTEM-${CMAKE_TARGET_ARCHITECTURE_CODE}")
1818
else()
1919
# Other generators such as NSIS or WIX must bundle everything,

0 commit comments

Comments
 (0)