diff options
-rw-r--r-- | source/creator/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
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 |