summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-11-27 23:22:34 +0800
committerruki <[email protected]>2024-11-27 23:22:34 +0800
commit2c973f5431c7fc907ed52a01698f1dd51804507d (patch)
treeb141e700061f141e5880c97fa791d190190bad67
parent2e5a83a3a13dd34ed36cac43a0262c036ecb1259 (diff)
remove unused codes
-rw-r--r--xmake/modules/package/tools/cmake.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index 6d7f15dce..b0bc9f34d 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -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