aboutsummaryrefslogtreecommitdiff
path: root/manual.md
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2019-05-13 22:53:26 +0800
committerruki <waruqi@gmail.com>2019-05-13 11:20:37 +0800
commitd456bfa55f54453c12e9b93304e290cb2fdc2f1f (patch)
treee16c19c009a2fec6d1e66db993c3db4acc5dc6da /manual.md
parent56f050281e278de8a72d15546e4600f6cdacb338 (diff)
downloadxmake-docs-d456bfa55f54453c12e9b93304e290cb2fdc2f1f.tar.gz
xmake-docs-d456bfa55f54453c12e9b93304e290cb2fdc2f1f.zip
modify is_plat
Diffstat (limited to 'manual.md')
-rw-r--r--manual.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/manual.md b/manual.md
index c5a18c16..524ea1b6 100644
--- a/manual.md
+++ b/manual.md
@@ -100,8 +100,7 @@ end
-- if the current platform is macosx or iphoneos
if is_plat("macosx", "iphoneos") then
- add_mxflags("-framework Foundation")
- add_ldflags("-framework Foundation")
+ add_frameworks("Foundation")
end
```