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 committed 2024-09-06 10:52:19 +01:00
1 parent 0e5cd608da
commit 1f054eca4e
7 files changed
+11 -11

No files matched your search

+1 -1
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()