Move options to start of CMakeFile. Rename to PIPEDAL_DISABLE_COPYRIGHT_BUILD to minimize potential package comflicts.
This commit is contained in:
+1
-3
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user