From ad8f25b7951a35d8d319ae79543ed43d657bdb9b Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Thu, 18 Apr 2024 10:26:20 +0200
Subject: [PATCH] when configuring mac_package.py for App, BA_PY_MODE must be
 OFF (#940)

---
 App/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/App/CMakeLists.txt b/App/CMakeLists.txt
index 3002d574ac2..52051961454 100644
--- a/App/CMakeLists.txt
+++ b/App/CMakeLists.txt
@@ -132,7 +132,8 @@ if(BA_APPLE_BUNDLE)
         )
     # Qt plugins directory in within the MacOS bundle
     set(MACPKG_QT_PLUGINS_DIR PlugIns)  # conform to settings in `qt.conf`
-    # convert CMake list to space-separated lists
+
+    set(BA_PY_MODE "OFF")
     set(MACPKG_EXTRA_LIBS "${BA_Dependencies}")
 
     configure_file("${CMAKE_SOURCE_DIR}/devtools/deploy/mac/mac_package.py.in"
-- 
GitLab