From a67e3308ce5d71cafab1494b88144ebfe21aa4f5 Mon Sep 17 00:00:00 2001 From: ideal Date: Wed, 6 Mar 2019 11:42:52 +0800 Subject: [PATCH] cmake: keep execute permission of files in bin directory (e.g. ss-local) after cmake install --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c0436ad4..115d7db8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -239,6 +239,7 @@ target_link_libraries(shadowsocks-libev-shared ${DEPS_SHARED}) # Misc # Recommend to install shared by default install(DIRECTORY ${RUNTIME_SHARED_OUTPUT_DIRECTORY}/ + USE_SOURCE_PERMISSIONS DESTINATION bin) if (WITH_STATIC)