build: tc.absolute_paths moved out from build_all

This commit is contained in:
Mateusz Pusz
2024-05-24 09:39:15 +02:00
parent f227cdd227
commit 30a23b4c21

View File

@ -220,8 +220,8 @@ class MPUnitsConan(ConanFile):
def generate(self):
tc = CMakeToolchain(self)
if self._build_all:
tc.absolute_paths = True # only needed for CMake CI
if self._build_all:
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