summaryrefslogtreecommitdiff
path: root/xmake/core/project/target.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-03-21 21:32:11 +0800
committerruki <[email protected]>2016-03-21 21:32:11 +0800
commit308b4d3661fad938dae830ee357778f85918f963 (patch)
treecee803e184a4f375f7b741772117a5c4a5e67343 /xmake/core/project/target.lua
parentb898400a3a5f18d332ce7ef159769d8f17fd28e5 (diff)
fix make config.h bug
Diffstat (limited to 'xmake/core/project/target.lua')
-rw-r--r--xmake/core/project/target.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua
index a7fd954d3..68dfefe3a 100644
--- a/xmake/core/project/target.lua
+++ b/xmake/core/project/target.lua
@@ -85,7 +85,7 @@ function target.options(self)
-- get option if be enabled
local opt = nil
- if config.get(name) then opt = poption.load(name) end
+ if config.get(name) then opt = option.load(name) end
if nil ~= opt then
options[name] = opt
end