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:
authorDalai Felinto <dalai@blender.org>2020-09-24 11:53:15 +0300
committerDalai Felinto <dalai@blender.org>2020-09-24 13:49:36 +0300
commit0434efa09ddc451675ce8f8e8e7df61f5cc34e89 (patch)
tree3c5b9d3747fe1570ea463528522c06e5cd2f5f13 /source/creator
parentf564126cdf1b172e01553aded2fd9b00a0e0ca67 (diff)
Move license files to license subfolder
For the final builds instead of leaving all the license files in the main folder, we move them to a "license" folder. Also, adding more licenses here (MIT, Apache, ...). Differential Revision: https://developer.blender.org/D8999
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/CMakeLists.txt32
1 files changed, 6 insertions, 26 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index ae672aa3b5c..b85586691f8 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -279,35 +279,9 @@ endif()
set(BLENDER_TEXT_FILES
- ${CMAKE_SOURCE_DIR}/release/text/GPL-license.txt
- ${CMAKE_SOURCE_DIR}/release/text/GPL3-license.txt
${CMAKE_SOURCE_DIR}/release/text/copyright.txt
# generate this file
# ${CMAKE_SOURCE_DIR}/release/text/readme.html
- ${CMAKE_SOURCE_DIR}/release/datafiles/LICENSE-bfont.ttf.txt
-)
-
-if(WITH_PYTHON)
- list(APPEND BLENDER_TEXT_FILES
- ${CMAKE_SOURCE_DIR}/release/text/Python-license.txt
- )
-endif()
-
-if(WITH_OPENCOLORIO)
- list(APPEND BLENDER_TEXT_FILES
- ${CMAKE_SOURCE_DIR}/release/text/ocio-license.txt
- )
-endif()
-
-if(WITH_MEM_JEMALLOC)
- list(APPEND BLENDER_TEXT_FILES
- ${CMAKE_SOURCE_DIR}/release/text/jemalloc-license.txt
- )
-endif()
-
-list(APPEND BLENDER_TEXT_FILES
- ${CMAKE_SOURCE_DIR}/release/datafiles/LICENSE-droidsans.ttf.txt
- ${CMAKE_SOURCE_DIR}/release/datafiles/LICENSE-bmonofont-i18n.ttf.txt
)
@@ -1077,6 +1051,12 @@ if(DEFINED BLENDER_TEXT_FILES_DESTINATION)
FILES ${BLENDER_TEXT_FILES}
DESTINATION "${BLENDER_TEXT_FILES_DESTINATION}"
)
+
+ install(
+ DIRECTORY
+ ${CMAKE_SOURCE_DIR}/release/license
+ DESTINATION "${BLENDER_TEXT_FILES_DESTINATION}"
+)
endif()
# install more files specified elsewhere