Skip to content

Commit

Permalink
remove unused codes
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Nov 27, 2024
1 parent 2e5a83a commit 2c973f5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions xmake/modules/package/tools/cmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -952,13 +952,6 @@ function _get_configs(package, configs, opt)
end
end
_insert_configs_from_envs(configs, envs or {}, opt)

local ccache = package:data("ccache")
if ccache then
table.insert(configs, "-DCMAKE_C_COMPILER_LAUNCHER=" .. ccache)
table.insert(configs, "-DCMAKE_CXX_COMPILER_LAUNCHER=" .. ccache)
end

return configs
end

Expand Down

0 comments on commit 2c973f5

Please sign in to comment.