diff options
Diffstat (limited to 'xmake/rules/xcode/application/load.lua')
| -rw-r--r-- | xmake/rules/xcode/application/load.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/rules/xcode/application/load.lua b/xmake/rules/xcode/application/load.lua index 071b94901..ddac69126 100644 --- a/xmake/rules/xcode/application/load.lua +++ b/xmake/rules/xcode/application/load.lua @@ -45,6 +45,11 @@ function main (target) target:set("targetdir", bundledir) end + -- set install directory + if is_plat("macosx") and not target:get("installdir") then + target:set("installdir", "/Applications") + end + -- add frameworks if is_plat("macosx") then target:add("frameworks", "AppKit") |
