summaryrefslogtreecommitdiff
path: root/xmake/platforms/linux/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-12-29 21:49:51 +0800
committerruki <[email protected]>2018-12-29 21:49:51 +0800
commit6ba45b97db448ba35711c0c06970436de3cad009 (patch)
treef89a09db9a2903dc3a143199abf162493705741f /xmake/platforms/linux/xmake.lua
parent04aca8108118992c4962bff9862b34ff8d4384a1 (diff)
improve platform
Diffstat (limited to 'xmake/platforms/linux/xmake.lua')
-rw-r--r--xmake/platforms/linux/xmake.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/xmake/platforms/linux/xmake.lua b/xmake/platforms/linux/xmake.lua
index b5b712df4..c1c5f051d 100644
--- a/xmake/platforms/linux/xmake.lua
+++ b/xmake/platforms/linux/xmake.lua
@@ -40,8 +40,11 @@ platform("linux")
-- set install directory
set_installdir("/usr/local")
- -- on check
- on_check("check")
+ -- on check project configuration
+ on_config_check("config")
+
+ -- on check global configuration
+ on_global_check("global")
-- on load
on_load("load")