summaryrefslogtreecommitdiff
path: root/tests/console_objc/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/console_objc/xmake.lua')
-rwxr-xr-xtests/console_objc/xmake.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/console_objc/xmake.lua b/tests/console_objc/xmake.lua
index fb1c495bf..146262351 100755
--- a/tests/console_objc/xmake.lua
+++ b/tests/console_objc/xmake.lua
@@ -21,13 +21,12 @@ if is_mode("release") then
set_strip("all")
end
+-- add frameworks
+add_frameworks("Foundation", "CoreFoundation")
+
-- for macosx or ios
if is_os("macosx", "ios") then
- -- add framework
- add_mxflags("-framework Foundation", "-framework CoreFoundation")
- add_ldflags("-framework Foundation", "-framework CoreFoundation")
-
-- enable arc?
add_mxflags("-fobjc-arc")
end