diff options
Diffstat (limited to 'xmake/scripts/action/_config.lua')
| -rw-r--r-- | xmake/scripts/action/_config.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/scripts/action/_config.lua b/xmake/scripts/action/_config.lua index 13916114a..851f866a0 100644 --- a/xmake/scripts/action/_config.lua +++ b/xmake/scripts/action/_config.lua @@ -37,6 +37,11 @@ function _config.done() local options = xmake._OPTIONS assert(options) + -- check target + if not project.checktarget(options.target) then + return false + end + -- save the configure if not config.save() then -- error |
