diff options
| author | ruki <[email protected]> | 2023-09-13 23:15:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-13 23:15:05 +0800 |
| commit | 7733874171389ce6a9a54e2dfac42b762cb7a26d (patch) | |
| tree | 46315b3ad55d477168deb08c5e638345bcbc9d5f | |
| parent | ef4ac3071cd0cdb78bf947fa676f6863254238de (diff) | |
fix cmake shell str
| -rw-r--r-- | xmake/plugins/project/cmake/cmakelists.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/cmake/cmakelists.lua b/xmake/plugins/project/cmake/cmakelists.lua index 8fe99436f..483ffb7b8 100644 --- a/xmake/plugins/project/cmake/cmakelists.lua +++ b/xmake/plugins/project/cmake/cmakelists.lua @@ -902,7 +902,7 @@ function _add_target_link_options(cmakelists, target) flag = _escape_path_in_flag(target, flag) -- @see https://github.com/xmake-io/xmake/issues/4196 if cmake_minver:ge("3.12.0") and #os.argv(flag) > 1 then - cmakelists:print(" SHELL:" .. flag) + cmakelists:print(" " .. os.args("SHELL:" .. flag)) else cmakelists:print(" " .. flag) end |
