enable hardened runtime on macOS builds
This commit is contained in:
parent
5cf11ead98
commit
8f1cadbbf2
@ -36,7 +36,11 @@ IF(STAR_PRECOMPILED_HEADERS)
|
||||
ENDIF()
|
||||
|
||||
IF (UNIX)
|
||||
set_target_properties (starbound PROPERTIES LINK_FLAGS "-Wl,-rpath,'$ORIGIN'")
|
||||
SET_TARGET_PROPERTIES (starbound PROPERTIES LINK_FLAGS "-Wl,-rpath,'$ORIGIN'")
|
||||
ENDIF()
|
||||
|
||||
IF (STAR_SYSTEM_MACOS)
|
||||
SET_TARGET_PROPERTIES (starbound PROPERTIES XCODE_ATTRIBUTE_ENABLE_HARDENED_RUNTIME YES)
|
||||
ENDIF()
|
||||
|
||||
TARGET_LINK_LIBRARIES (starbound ${STAR_EXT_LIBS} ${STAR_EXT_GUI_LIBS})
|
||||
|
Loading…
x
Reference in New Issue
Block a user