diff options
| author | ruki <[email protected]> | 2015-12-01 23:59:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-12-01 23:59:53 +0800 |
| commit | e56812a09d3677957c41bccc8988599208e3b49a (patch) | |
| tree | 5e208f2707be9348b7b215706c3fa6cf64aa2134 /xmake/scripts/platform/windows | |
| parent | e88ecbfd2dcdf19908df50abf86fd29032e2d359 (diff) | |
improve proberv1.0.3
Diffstat (limited to 'xmake/scripts/platform/windows')
| -rw-r--r-- | xmake/scripts/platform/windows/prober.lua | 20 |
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 |
