From b5201ec46d1a715cc41d7ca165299c11c5b8d9d9 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 2 May 2020 15:49:37 +0200 Subject: [PATCH] Attempted rework of conanfile --- conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index dffea4f..dfdd81c 100644 --- a/conanfile.py +++ b/conanfile.py @@ -19,7 +19,7 @@ class ArbutilsConan(ConanFile): if self.settings.os == "Windows": self.output.warn("Noticed Windows target, setting Cmake WINDOWS=On.") cmake.definitions["WINDOWS"] = "On" - if self.options["shared"]: + if self.options.shared: self.output.info("Building shared library.") cmake.definitions["SHARED"] = "On" else: