From ae1d10255b58e88ab9b687c333654cf4eb32e2d3 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 14 Feb 2019 22:48:12 +0800 Subject: format code --- xmake/plugins/project/cmake/cmakelists.lua | 8 ++++---- 1 file 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 -- cgit v1.3.1