diff --git a/App/CMakeLists.txt b/App/CMakeLists.txt
index 3002d574ac213143bb29799efcad288a62ffd738..52051961454761483b5b7ea79e6c079738dab68e 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"