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

This commit is contained in:
Deukhoofd committed 2020-01-01 13:42:36 +01:00
1 parent 1facac87cb
commit 9f6f2a22b9
1 file changed
+2 -1
+2 -1
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()