From 65e839abe48132e893904e6803585e147689cefc Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Wed, 1 Jan 2020 14:01:46 +0100 Subject: [PATCH] Log target OS for Conan. --- conanfile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index ea8f5e2..012f8bd 100644 --- a/conanfile.py +++ b/conanfile.py @@ -15,7 +15,8 @@ class CreatureLibConan(ConanFile): def build(self): cmake = CMake(self) - if self.settings.get_safe("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()