diff --git a/CMakeLists.txt b/CMakeLists.txt index 312a073288f..1861d941c20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 574ae007c1e..51907636809 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -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