diff options
| author | ruki <[email protected]> | 2019-02-14 22:48:12 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-02-14 10:49:12 +0800 |
| commit | ae1d10255b58e88ab9b687c333654cf4eb32e2d3 (patch) | |
| tree | 516398dd23c792f294723b7fca091cb58baa3c45 | |
| parent | 27614f2e3c425116ddfb83cc4ccf471973983698 (diff) | |
format code
| -rw-r--r-- | xmake/plugins/project/cmake/cmakelists.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/plugins/project/cmake/cmakelists.lua b/xmake/plugins/project/cmake/cmakelists.lua index bedadb1d7..728277eed 100644 --- a/xmake/plugins/project/cmake/cmakelists.lua +++ b/xmake/plugins/project/cmake/cmakelists.lua @@ -131,10 +131,10 @@ end -- add target compile options function _add_target_compile_options(cmakelists, target) - local cflags = target:get("cflags") - local cxflags = target:get("cxflags") - local cxxflags = target:get("cxxflags") - local cuflags = target:get("cuflags") + local cflags = target:get("cflags") + local cxflags = target:get("cxflags") + local cxxflags = target:get("cxxflags") + local cuflags = target:get("cuflags") if cflags or cxflags or cxxflags or cuflags then cmakelists:print("target_compile_options(%s PRIVATE", target:name()) for _, flag in ipairs(cflags) do |
