Log target OS for Conan.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-01-01 14:01:46 +01:00
parent 9f6f2a22b9
commit 65e839abe4
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 2 additions and 1 deletions

View File

@ -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()