Skip to content

Commit 3681726

Browse files
committed
Add Hardened Runtime flags for JIT compilation
1 parent cc80891 commit 3681726

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ if(NOT CMAKE_BUILD_TYPE)
9494
endif()
9595

9696
set(HARDENED_RUNTIME_ENABLED YES)
97-
set(HARDENED_RUNTIME_OPTIONS com.apple.security.device.audio-input com.apple.security.device.camera com.apple.security.cs.disable-library-validation)
97+
set(HARDENED_RUNTIME_OPTIONS com.apple.security.device.audio-input com.apple.security.device.camera com.apple.security.cs.disable-library-validation com.apple.security.cs.allow-jit com.apple.security.cs.allow-unsigned-executable-memory)
9898

9999
if("${CMAKE_SYSTEM_NAME}" MATCHES "iOS")
100100
list(APPEND HARDENED_RUNTIME_OPTIONS com.apple.developer.networking.multicast)

0 commit comments

Comments
 (0)