mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-25 22:39:13 +02:00
cmake: add USE_SOURCE_PERMISSIONS to all configure_file usage
`USE_SOURCE_PERMISSIONS` is the default, so this should not change behaviour. However, being explicit makes it clear what we are doing. Related to #30815. See https://cmake.org/cmake/help/latest/command/configure_file.html#options.
This commit is contained in:
@@ -6,7 +6,7 @@ find_package(Doxygen COMPONENTS dot)
|
||||
|
||||
if(DOXYGEN_FOUND)
|
||||
set(doxyfile ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
|
||||
configure_file(Doxyfile.in ${doxyfile})
|
||||
configure_file(Doxyfile.in ${doxyfile} USE_SOURCE_PERMISSIONS)
|
||||
|
||||
# In CMake 3.27, The FindDoxygen module's doxygen_add_docs()
|
||||
# command gained a CONFIG_FILE option to specify a custom doxygen
|
||||
|
||||
Reference in New Issue
Block a user