From 3e3726ddac11f734f4b593964d2c73c33a6f3181 Mon Sep 17 00:00:00 2001 From: Martin Valgur Date: Mon, 6 May 2024 20:20:33 +0300 Subject: [PATCH] g2o: fix CSparse support --- recipes/g2o/all/conanfile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/g2o/all/conanfile.py b/recipes/g2o/all/conanfile.py index 15a9945d0320d..5dc07cd9925ad 100644 --- a/recipes/g2o/all/conanfile.py +++ b/recipes/g2o/all/conanfile.py @@ -198,6 +198,8 @@ def _patch_sources(self): replace_in_file(self, os.path.join(self.source_folder, "g2o", "solvers", "csparse", "CMakeLists.txt"), "$", '"$"') + replace_in_file(self, os.path.join(self.source_folder, "g2o", "solvers", "csparse", "CMakeLists.txt"), + "${CSPARSE_LIBRARY}", "${CSPARSE_LIBRARIES}") def build(self): self._patch_sources()