More tweaks to get conan to handle Windows properly.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
1facac87cb
commit
9f6f2a22b9
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue