From cb2621f98ba4714c4e48db9188102721afc9fe39 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Fri, 19 Feb 2021 10:59:24 +0100 Subject: [PATCH] cmake: Don't require code signing on MacOS --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 61b5f5fb..6e531e0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1494,6 +1494,14 @@ if(HAVE_QT) ) endif() +# MacOS: Disable automatic Code Signing in Xcode +if(D_PLATFORM_MAC) + set_target_properties(${PROJECT_NAME} PROPERTIES + XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "" + XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO" + ) +endif() + ################################################################################ # Extra Tools ################################################################################