Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnkit Meel <ankitjmeel@gmail.com>2022-02-16 23:00:51 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2022-02-16 23:01:03 +0300
commit6862caea5e878ab5de22513fb9ca13e17add8919 (patch)
treeff4138475fdcc7d17686d6e3a264dcee1aa78491 /source/creator
parent71545e542c5b14351a0addf713234cf87a39a5c3 (diff)
macOS/bpy module: install text files correctly
Instead of Blender.app (despite building bpy), install license etc in `Resources/text` of bpy install location. Part of D14111
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index 6a1d5b78611..d17afad0918 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -334,6 +334,8 @@ elseif(APPLE)
else()
set(TARGETDIR_VER Blender.app/Contents/Resources/${BLENDER_VERSION})
endif()
+ # License, copyright, readme files.
+ set(BLENDER_TEXT_FILES_DESTINATION "${TARGETDIR_VER}/../text")
set(MAC_BLENDER_TARGET_DYLIBS_DIR "${TARGETDIR_VER}/lib")
# Skip relinking on cpack / install
set_target_properties(blender PROPERTIES BUILD_WITH_INSTALL_RPATH true)
@@ -1057,9 +1059,6 @@ elseif(APPLE)
DESTINATION "."
)
- # install release and app files
- set(BLENDER_TEXT_FILES_DESTINATION Blender.app/Contents/Resources/text)
-
install(
FILES ${OSX_APP_SOURCEDIR}/Contents/PkgInfo
DESTINATION Blender.app/Contents