More tweaks to get conan to handle Windows properly.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-01-01 13:42:36 +01:00
parent 1facac87cb
commit 9f6f2a22b9
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ class CreatureLibConan(ConanFile):
def build(self):
cmake = CMake(self)
if self.settings.get_safe("os") == "Windows":
cmake.definitions["WINDOWS"] = True
self.output.warn("Noticed Windows target, setting Cmake WINDOWS=On.")
cmake.definitions["WINDOWS"] = "On"
cmake.configure()
cmake.build()