diff options
| author | ruki <[email protected]> | 2021-08-26 11:10:18 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-26 11:10:18 +0800 |
| commit | 42586ef30167d76c26e87095420fc5780e9d9826 (patch) | |
| tree | 2e10131632f7eb556991a40f5f18c9d8408a9ef3 /xmake/modules | |
| parent | a483cecba3feb404388099ccc8bdb32e6382102c (diff) | |
Update cmake.lua
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/action/trybuild/cmake.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/private/action/trybuild/cmake.lua b/xmake/modules/private/action/trybuild/cmake.lua index e2022b7b8..4217e98a5 100644 --- a/xmake/modules/private/action/trybuild/cmake.lua +++ b/xmake/modules/private/action/trybuild/cmake.lua @@ -19,7 +19,6 @@ -- -- imports -import("core.base.cli") import("core.base.option") import("core.project.config") import("core.tool.toolchain") @@ -199,7 +198,7 @@ function _get_configs(artifacts_dir) -- add extra user configs local tryconfigs = config.get("tryconfigs") if tryconfigs then - for _, opt in ipairs(cli.parse(tryconfigs)) do + for _, opt in ipairs(os.argv(tryconfigs)) do table.insert(configs, tostring(opt)) end end |
