File tree 2 files changed +14
-1
lines changed
2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,15 @@ if (CMAKE_HOST_APPLE AND APPLE)
6
6
endif ()
7
7
8
8
# Requires system-provided Swift libs.
9
- set (CMAKE_OSX_DEPLOYMENT_TARGET 10.14.4)
9
+ if (NOT APPLE_EMBEDDED)
10
+ set (CMAKE_OSX_DEPLOYMENT_TARGET 10.14.4)
11
+ endif ()
10
12
11
13
add_lldb_tool(repl_swift ADD_TO_FRAMEWORK
12
14
main.c
15
+
16
+ ENTITLEMENTS
17
+ "${CMAKE_CURRENT_SOURCE_DIR} /get-task-allow-entitlements.plist"
13
18
)
14
19
target_link_libraries (repl_swift PRIVATE ${CMAKE_DL_LIBS} )
15
20
if (CMAKE_SYSTEM_NAME STREQUAL Windows)
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version =" 1.0" >
4
+ <dict >
5
+ <key >com.apple.security.get-task-allow </key >
6
+ <true />
7
+ </dict >
8
+ </plist >
You can’t perform that action at this time.
0 commit comments