From 704f127e6778e46202fab54cfc24432c216924d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nenad=20Miks=CC=8Ca?= Date: Tue, 11 Sep 2018 10:23:47 +0200 Subject: [PATCH] workaround for https://github.com/conan-io/conan/issues/3519 --- conanfile.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/conanfile.py b/conanfile.py index ef198626cd4..0154d912aad 100644 --- a/conanfile.py +++ b/conanfile.py @@ -24,8 +24,10 @@ class EigenConan(ConanFile): def config_options(self): - self.options.default_number_of_registers = self.calc_default_number_of_registers() - self.options.apple_accelerate_mode = self.calc_apple_accelerate_mode() + if self.options.default_number_of_registers == None: + self.options.default_number_of_registers = self.calc_default_number_of_registers() + if self.options.apple_accelerate_mode == None: + self.options.apple_accelerate_mode = self.calc_apple_accelerate_mode() def calc_default_number_of_registers(self):