From d271bf0f8d6424ba2128569c286c6a7f63163244 Mon Sep 17 00:00:00 2001 From: Martin Valgur Date: Sat, 4 Nov 2023 13:01:46 +0200 Subject: [PATCH] pagmo2: transitive_headers=True --- recipes/pagmo2/all/conanfile.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/recipes/pagmo2/all/conanfile.py b/recipes/pagmo2/all/conanfile.py index 8dd6d4c96657da..0993c7c48bba59 100644 --- a/recipes/pagmo2/all/conanfile.py +++ b/recipes/pagmo2/all/conanfile.py @@ -57,7 +57,7 @@ def layout(self): cmake_layout(self, src_folder="src") def requirements(self): - self.requires("boost/1.83.0") + self.requires("boost/1.83.0", transitive_headers=True) self.requires("onetbb/2021.10.0") if self.options.with_eigen: self.requires("eigen/3.4.0") @@ -116,12 +116,8 @@ def generate(self): def _patch_sources(self): # do not force MT runtime for static lib - replace_in_file( - self, - os.path.join(self.source_folder, "CMakeLists.txt"), - "if(YACMA_COMPILER_IS_MSVC AND PAGMO_BUILD_STATIC_LIBRARY)", - "if(0)", - ) + replace_in_file(self, os.path.join(self.source_folder, "CMakeLists.txt"), + "if(YACMA_COMPILER_IS_MSVC AND PAGMO_BUILD_STATIC_LIBRARY)", "if(0)") # No warnings as errors yacma_cmake = os.path.join(self.source_folder, "cmake_modules", "yacma", "YACMACompilerLinkerSettings.cmake") replace_in_file(self, yacma_cmake, 'list(APPEND _YACMA_CXX_FLAGS_DEBUG "-Werror")', "")