diff options
| author | ruki <[email protected]> | 2024-11-02 23:31:49 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-11-02 23:31:49 +0800 |
| commit | 4bdd894bbb5d4f6248dddcae0c268da762a6b307 (patch) | |
| tree | 52cd666275e4596e26e20358ae01c62eda7e011f | |
| parent | c6bb229de4c708506344016304b74f457f304434 (diff) | |
| parent | 7ff6d7e178e023fc22b77623dee445a3de064622 (diff) | |
Merge pull request #5779 from cmolocznik/fix-cmake-project-generation
fix error when generating cmake
| -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 3002079a0..598a1aad3 100644 --- a/xmake/plugins/project/cmake/cmakelists.lua +++ b/xmake/plugins/project/cmake/cmakelists.lua @@ -441,7 +441,7 @@ function _add_target_dependencies(cmakelists, target) local deps = {} for _, dep in ipairs(target:orderdeps()) do if not dep:is_object() then - deps:insert(dep:name()) + table.insert(deps, dep:name()) end end |
