From 30a23b4c21e664ea815ad717342338bb8a82c691 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 24 May 2024 09:39:15 +0200 Subject: [PATCH] build: `tc.absolute_paths` moved out from `build_all` --- conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index b4ca324d..9f51a130 100644 --- a/conanfile.py +++ b/conanfile.py @@ -220,8 +220,8 @@ class MPUnitsConan(ConanFile): def generate(self): tc = CMakeToolchain(self) + tc.absolute_paths = True # only needed for CMake CI if self._build_all: - tc.absolute_paths = True # only needed for CMake CI tc.cache_variables["CMAKE_EXPORT_COMPILE_COMMANDS"] = True tc.cache_variables["CMAKE_VERIFY_INTERFACE_HEADER_SETS"] = True tc.cache_variables["MP_UNITS_DEV_BUILD_LA"] = not self._skip_la