Add option to install copyright.txt
The file is specific for the builds created by the Blender Foundation and strictly speaking should only be used by builds created on our release environment. This change introduces a CMake option which is disabled by default and which will be enabled on our buildbot. Ref #107295 Pull Request: https://projects.blender.org/blender/blender/pulls/108191
This commit is contained in:
parent
9511384442
commit
3bc189a62e
|
@ -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()
|
||||
|
|
|
@ -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`
|
||||
)
|
||||
|
||||
if(WITH_INSTALL_COPYRIGHT)
|
||||
list(APPEND BLENDER_TEXT_FILES
|
||||
${CMAKE_SOURCE_DIR}/release/text/copyright.txt
|
||||
)
|
||||
endif()
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Platform specific target destinations
|
||||
|
|
Loading…
Reference in New Issue