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:
fanquake
2024-09-05 15:47:13 +01:00
parent 0e5cd608da
commit 1f054eca4e
7 changed files with 11 additions and 11 deletions

View File

@@ -27,7 +27,7 @@ function(create_test_config)
set_configure_variable(ENABLE_EXTERNAL_SIGNER ENABLE_EXTERNAL_SIGNER)
set_configure_variable(WITH_USDT ENABLE_USDT_TRACEPOINTS)
configure_file(config.ini.in config.ini @ONLY)
configure_file(config.ini.in config.ini USE_SOURCE_PERMISSIONS @ONLY)
endfunction()
create_test_config()