From ad14e10fbbbb9041d6b3aaada8a6a56b443681ee Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Tue, 23 Jan 2024 10:02:42 +0100 Subject: [PATCH] globally enable use of the xcode hardened runtime Signed-off-by: Matthieu Gallien --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d65f503d8dad..3217aaf30f14e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,8 @@ project(client) include(FeatureSummary) +set(CMAKE_XCODE_ATTRIBUTE_ENABLE_HARDENED_RUNTIME YES) + set(BIN_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") include(${CMAKE_SOURCE_DIR}/NEXTCLOUD.cmake)