Add option to install copyright.txt #108191

Merged
Sergey Sharybin merged 2 commits from Sergey/blender:copyright-install into blender-v3.6-release 2023-05-24 10:07:26 +02:00
2 changed files with 8 additions and 1 deletions

View File

@ -445,6 +445,9 @@ endif()
option(WITH_PYTHON_INSTALL "Copy system python into the blender install folder" ON)
option(WITH_INSTALL_COPYRIGHT "Copy the official Blender Foundation's copyright.txt into the Blender install folder" OFF)
mark_as_advanced(WITH_INSTALL_COPYRIGHT)
if((WITH_AUDASPACE AND NOT WITH_SYSTEM_AUDASPACE) OR WITH_MOD_FLUID)
option(WITH_PYTHON_NUMPY "Include NumPy in Blender (used by Audaspace and Mantaflow)" ON)
endif()

View File

@ -334,11 +334,15 @@ endif()
set(BLENDER_TEXT_FILES
${CMAKE_SOURCE_DIR}/release/text/copyright.txt
# Generate this file:
# `${CMAKE_SOURCE_DIR}/release/text/readme.html`
)

unintended whitespace change?

unintended whitespace change?
if(WITH_INSTALL_COPYRIGHT)
list(APPEND BLENDER_TEXT_FILES
${CMAKE_SOURCE_DIR}/release/text/copyright.txt
)
endif()
# -----------------------------------------------------------------------------
# Platform specific target destinations