Fixes for conanfile.py
continuous-integration/drone/push Build is passing Details

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

View File

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