aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-09-06 21:22:10 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-09-10 15:44:17 +0100
commit5ba03e7d35e1b47ba864c9ae3c94af97cd3ae10b (patch)
tree177c9bf833b745721ebc2895ece8723ca96b9269
parente4fb97a5127ee767af7cbfab3ee07a18514bda1c (diff)
downloadbitcoin-5ba03e7d35e1b47ba864c9ae3c94af97cd3ae10b.tar.xz
build: Use CMake's default permissions in macOS `deploy` target
This change fixes reproducibility issue with macOS Guix builds.
-rw-r--r--cmake/module/Maintenance.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/module/Maintenance.cmake b/cmake/module/Maintenance.cmake
index a232a9fc1e..456419b722 100644
--- a/cmake/module/Maintenance.cmake
+++ b/cmake/module/Maintenance.cmake
@@ -92,11 +92,11 @@ function(add_macos_deploy_target)
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND TARGET bitcoin-qt)
set(macos_app "Bitcoin-Qt.app")
# Populate Contents subdirectory.
- configure_file(${PROJECT_SOURCE_DIR}/share/qt/Info.plist.in ${macos_app}/Contents/Info.plist USE_SOURCE_PERMISSIONS)
+ configure_file(${PROJECT_SOURCE_DIR}/share/qt/Info.plist.in ${macos_app}/Contents/Info.plist NO_SOURCE_PERMISSIONS)
file(CONFIGURE OUTPUT ${macos_app}/Contents/PkgInfo CONTENT "APPL????")
# Populate Contents/Resources subdirectory.
file(CONFIGURE OUTPUT ${macos_app}/Contents/Resources/empty.lproj CONTENT "")
- configure_file(${PROJECT_SOURCE_DIR}/src/qt/res/icons/bitcoin.icns ${macos_app}/Contents/Resources/bitcoin.icns USE_SOURCE_PERMISSIONS COPYONLY)
+ configure_file(${PROJECT_SOURCE_DIR}/src/qt/res/icons/bitcoin.icns ${macos_app}/Contents/Resources/bitcoin.icns NO_SOURCE_PERMISSIONS COPYONLY)
file(CONFIGURE OUTPUT ${macos_app}/Contents/Resources/Base.lproj/InfoPlist.strings
CONTENT "{ CFBundleDisplayName = \"@PACKAGE_NAME@\"; CFBundleName = \"@PACKAGE_NAME@\"; }"
)