Add CPack/CMake macOS app bundle configuration:
if (APPLE)
set_target_properties("Path of Building-PoE2" PROPERTIES
MACOSX_BUNDLE TRUE
MACOSX_BUNDLE_BUNDLE_NAME "Path of Building 2"
MACOSX_BUNDLE_BUNDLE_VERSION "${VERSION}"
MACOSX_BUNDLE_SHORT_VERSION_STRING "${VERSION}"
)
include(BundleUtilities)
endif()
See MACOS_PORT.md §Phase 3 · 3.1
Add CPack/CMake macOS app bundle configuration:
.appbundle produced bycmake --installContents/Frameworks/See MACOS_PORT.md §Phase 3 · 3.1