[Bf-blender-cvs] [3ceff8b7bc7] blender-v2.81-release: CMake: fix building as a Python module on macOS
Campbell Barton
noreply at git.blender.org
Mon Oct 21 05:56:43 CEST 2019
Commit: 3ceff8b7bc71ac1c89897ccb4a58d2917f38500d
Author: Campbell Barton
Date: Mon Oct 21 14:48:17 2019 +1100
Branches: blender-v2.81-release
https://developer.blender.org/rB3ceff8b7bc71ac1c89897ccb4a58d2917f38500d
CMake: fix building as a Python module on macOS
Caused by c553b790fc781
===================================================================
M source/creator/CMakeLists.txt
===================================================================
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index 4da1d61a4f1..cb76aa94df3 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -854,8 +854,10 @@ elseif(WIN32)
)
endif()
elseif(APPLE)
- # Uppercase name for app bundle
- set_target_properties(blender PROPERTIES OUTPUT_NAME Blender)
+ if (NOT WITH_PYTHON_MODULE)
+ # Uppercase name for app bundle
+ set_target_properties(blender PROPERTIES OUTPUT_NAME Blender)
+ endif()
# handy install macro to exclude files, we use \$ escape for the "to"
# argument when calling so ${BUILD_TYPE} does not get expanded
More information about the Bf-blender-cvs
mailing list