From be2c59c691663fdeb2c33fef503304c621edf002 Mon Sep 17 00:00:00 2001 From: Pete Savage Date: Mon, 26 Jul 2021 20:30:52 +0100 Subject: [PATCH] Add source permissions to preserve file perms --- plugins/lv2/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/lv2/CMakeLists.txt b/plugins/lv2/CMakeLists.txt index a8d97bb5..4bf68051 100644 --- a/plugins/lv2/CMakeLists.txt +++ b/plugins/lv2/CMakeLists.txt @@ -117,7 +117,8 @@ endif() # Installation if(NOT MSVC) install(DIRECTORY ${PROJECT_BINARY_DIR} DESTINATION ${LV2PLUGIN_INSTALL_DIR} - COMPONENT "lv2") + COMPONENT "lv2" + USE_SOURCE_PERMISSIONS) bundle_dylibs(lv2 "${LV2PLUGIN_INSTALL_DIR}/${PROJECT_NAME}.lv2/Contents/Binary/sfizz.so" COMPONENT "lv2")