diff --git a/conanfile.py b/conanfile.py index 012f8bd..78959ac 100644 --- a/conanfile.py +++ b/conanfile.py @@ -15,8 +15,8 @@ class CreatureLibConan(ConanFile): def build(self): cmake = CMake(self) - self.output.info("Target OS: %s." % (self.settings["os"])) - if self.settings["os"] == "Windows": + self.output.info("Target OS: %s." % self.settings.os) + if self.settings.os == "Windows": self.output.warn("Noticed Windows target, setting Cmake WINDOWS=On.") cmake.definitions["WINDOWS"] = "On" cmake.configure()