Change: Strip symbols from bundles except macOS (#10072)

pull/444/head
Bouke Haarsma 2 years ago committed by GitHub
parent 9059215b3b
commit 887b760c88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -118,10 +118,12 @@ endif()
set(CPACK_RESOURCE_FILE_README "${CMAKE_SOURCE_DIR}/README.md")
set(CPACK_MONOLITHIC_INSTALL YES)
set(CPACK_PACKAGE_EXECUTABLES "openttd;OpenTTD")
set(CPACK_STRIP_FILES NO)
set(CPACK_STRIP_FILES YES)
set(CPACK_OUTPUT_FILE_PREFIX "bundles")
if(APPLE)
# Stripping would produce unreadable stacktraces.
set(CPACK_STRIP_FILES NO)
set(CPACK_GENERATOR "Bundle")
include(PackageBundle)

Loading…
Cancel
Save