From e4c59bb51f3ae0417a3f9e18b37d3f656b25d7dd Mon Sep 17 00:00:00 2001 From: light7734 Date: Thu, 17 Jul 2025 08:22:33 +0000 Subject: [PATCH] build: change cmake build type to MOLD in conan (#6) reviewed-on: https://git.light7734.com/light7734/light/pulls/6 Co-authored-by: light7734 Co-committed-by: light7734 --- conanfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/conanfile.py b/conanfile.py index bf10142..1ca313e 100644 --- a/conanfile.py +++ b/conanfile.py @@ -36,6 +36,7 @@ class LightRecipe(ConanFile): tc = CMakeToolchain(self) tc.variables["CMAKE_BUILD_TYPE"] = self.settings.build_type + tc.cache_variables["CMAKE_LINKER_TYPE"] = "MOLD" tc.cache_variables["CMAKE_EXPORT_COMPILE_COMMANDS"] = self.options.export_compile_commands tc.cache_variables["ENABLE_STATIC_ANALYSIS"] = self.options.enable_static_analysis