Move options to start of CMakeFile. Rename to PIPEDAL_DISABLE_COPYRIGHT_BUILD to minimize potential package comflicts.

This commit is contained in:
Robin E.R. Davies
2026-06-08 18:42:23 -04:00
parent 4bb2f917e6
commit 89f2c2798e
2 changed files with 9 additions and 7 deletions
+1 -3
View File
@@ -883,9 +883,7 @@ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Updating copyright notices."
)
option(DISABLE_COPYRIGHT_BUILD "Skip generation of copyright notices (use on non-Debian distros)" OFF)
if(NOT DISABLE_COPYRIGHT_BUILD)
if(NOT PIPEDAL_DISABLE_COPYRIGHT_BUILD)
add_custom_target (
CopyrightBuild ALL
DEPENDS ${REACT_NOTICES_FILE}