From c15554da7144322df8ef37c51dec2a54cd7f61f2 Mon Sep 17 00:00:00 2001 From: Winfried Dobbe Date: Sat, 11 Sep 2021 16:12:27 +0200 Subject: [PATCH] #7244 numa option is deleted if Boost fibre is disabled --- recipes/boost/all/conanfile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/boost/all/conanfile.py b/recipes/boost/all/conanfile.py index d956e0e365952..3f8a505d06510 100644 --- a/recipes/boost/all/conanfile.py +++ b/recipes/boost/all/conanfile.py @@ -291,7 +291,9 @@ def config_options(self): if self.settings.compiler == "Visual Studio": # Shared builds of numa do not link on Visual Studio due to missing symbols - self.options.numa = False + numa_value = self.options.get_safe("numa", default=False) + if numa_value: + self.options.numa = False if tools.Version(self.version) >= "1.76.0": # Starting from 1.76.0, Boost.Math requires a c++11 capable compiler