cmake: Don't require code signing on MacOS

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2021-02-19 10:59:24 +01:00
parent 495b8cda66
commit cb2621f98b
1 changed files with 8 additions and 0 deletions

View File

@ -1494,6 +1494,14 @@ if(HAVE_QT)
) )
endif() 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 # Extra Tools
################################################################################ ################################################################################