summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/windows
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/platform/windows')
-rw-r--r--xmake/scripts/platform/windows/prober.lua20
1 files changed, 10 insertions, 10 deletions
diff --git a/xmake/scripts/platform/windows/prober.lua b/xmake/scripts/platform/windows/prober.lua
index f4aacf9d2..7c6f3a948 100644
--- a/xmake/scripts/platform/windows/prober.lua
+++ b/xmake/scripts/platform/windows/prober.lua
@@ -251,22 +251,22 @@ end
function prober.config()
-- call all probe functions
- utils.call( { prober._probe_arch
- , prober._probe_vs_version
- , prober._probe_vs_path
- , prober._probe_toolchains}
- , nil
- , config)
+ return utils.call( { prober._probe_arch
+ , prober._probe_vs_version
+ , prober._probe_vs_path
+ , prober._probe_toolchains}
+ , nil
+ , config)
end
-- probe the global configure
function prober.global()
-- call all probe functions
- utils.call( { prober._probe_vs_version
- , prober._probe_vs_path}
- , nil
- , global)
+ return utils.call( { prober._probe_vs_version
+ , prober._probe_vs_path}
+ , nil
+ , global)
end
-- return module: prober