summaryrefslogtreecommitdiff
path: root/xmake/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-09 09:38:13 +0800
committerruki <[email protected]>2015-12-09 09:38:13 +0800
commit5023cb209d1d9104b1a4ad4e99836a3c24b5302c (patch)
tree508eaffeb9bd84aa928a486d54c2f558dd945f3f /xmake/scripts
parentf86dc16b057cab514cefb72103e7791bf9c57c23 (diff)
add templates for objc/objc++/swift
Diffstat (limited to 'xmake/scripts')
-rw-r--r--xmake/scripts/platform/macosx/macosx.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmake/scripts/platform/macosx/macosx.lua b/xmake/scripts/platform/macosx/macosx.lua
index fd96d323b..f270e0305 100644
--- a/xmake/scripts/platform/macosx/macosx.lua
+++ b/xmake/scripts/platform/macosx/macosx.lua
@@ -99,11 +99,9 @@ function macosx.make(configs)
-- init includedirs
--
-- @note
- -- cannot use configs.includedirs because the swift compiler will compile code failed
+ -- cannot use configs.includedirs because the swift/objc compiler will compile code failed
table.insert(configs.cxflags, "-I/usr/include")
table.insert(configs.cxflags, "-I/usr/local/include")
- table.insert(configs.mxflags, "-I/usr/include")
- table.insert(configs.mxflags, "-I/usr/local/include")
end