summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTellowKrinkle <tellowkrinkle@gmail.com>2025-10-26 23:24:45 -0500
committerTellowKrinkle <tellowkrinkle@gmail.com>2025-10-26 23:24:45 -0500
commita1bdc40245eb9b7aad1d2e0374d589cfd2db8ccc (patch)
tree470a884fa3c65973fb4ade2357cdadba65fdce21
parentc22a483431bcc40a18250985426e0ae0c27bfa5a (diff)
CMake: Default SKIP_POSTPROCESS_BUNDLE to ON
Most users do not need it
-rwxr-xr-xBuildMacOSUniversalBinary.py2
-rw-r--r--CMakeLists.txt2
2 files changed, 3 insertions, 1 deletions
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)