diff --git a/CMakeLists.txt b/CMakeLists.txt index 70c3bf352..7b7f09cac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1325,6 +1325,10 @@ if(APPLE) set(CPACK_PACKAGE_NAME "Lemonade") set(CPACK_PRODUCTBUILD_IDENTIFIER "com.lemonade.server") + # Declare the package arm64-only so the macOS Installer does not assume our + # postflight script needs x86_64 and prompt to install Rosetta on Apple Silicon. + set(CPACK_APPLE_PKG_INSTALLER_CONTENT "arm64") + set(CPACK_PRODUCTBUILD_DOMAIN "system") if(INSTALLER_IDENTITY)