From a1bdc40245eb9b7aad1d2e0374d589cfd2db8ccc Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Sun, 26 Oct 2025 23:24:45 -0500 Subject: [PATCH] CMake: Default SKIP_POSTPROCESS_BUNDLE to ON Most users do not need it --- BuildMacOSUniversalBinary.py | 2 ++ CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/BuildMacOSUniversalBinary.py b/BuildMacOSUniversalBinary.py index 5eff0d0cfc..a4d421765a 100755 --- a/BuildMacOSUniversalBinary.py +++ b/BuildMacOSUniversalBinary.py @@ -295,6 +295,8 @@ def build(config): "-DENABLE_AUTOUPDATE=" + python_to_cmake_bool(config["autoupdate"]), '-DDISTRIBUTOR=' + config['distributor'], + # Distributable bundles need to be postprocessed to embed dependencies + "-DSKIP_POSTPROCESS_BUNDLE=OFF", # Always use libraries from Externals to prevent any libraries # installed by Homebrew from leaking in to the app "-DUSE_SYSTEM_LIBS=OFF", diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c708e9987..bbd80fd46d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -140,7 +140,7 @@ if(APPLE) enable_language(OBJC) enable_language(OBJCXX) option(MACOS_USE_DEFAULT_SEARCH_PATH "Don't prioritize system library paths" OFF) - option(SKIP_POSTPROCESS_BUNDLE "Skip postprocessing bundle for redistributability" OFF) + option(SKIP_POSTPROCESS_BUNDLE "Skip postprocessing bundle for redistributability" ON) # Enable adhoc code signing by default (otherwise makefile builds on ARM will not work) option(MACOS_CODE_SIGNING "Enable codesigning" ON) option(USE_BUNDLED_MOLTENVK "Build MoltenVK from Externals with Dolphin-specific patches" ON)