summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/detect/tools/find_swig.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_swig.lua b/xmake/modules/detect/tools/find_swig.lua
index 1442d712d..25220030e 100644
--- a/xmake/modules/detect/tools/find_swig.lua
+++ b/xmake/modules/detect/tools/find_swig.lua
@@ -39,7 +39,7 @@ function main(opt)
-- init options
opt = opt or {}
- opt.check = opt.check or "-help"
+ opt.check = opt.check or "-version"
-- find program
local program = find_program(opt.program or "swig", opt)