Log target OS for Conan.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
9f6f2a22b9
commit
65e839abe4
|
@ -15,7 +15,8 @@ class CreatureLibConan(ConanFile):
|
||||||
|
|
||||||
def build(self):
|
def build(self):
|
||||||
cmake = CMake(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.")
|
self.output.warn("Noticed Windows target, setting Cmake WINDOWS=On.")
|
||||||
cmake.definitions["WINDOWS"] = "On"
|
cmake.definitions["WINDOWS"] = "On"
|
||||||
cmake.configure()
|
cmake.configure()
|
||||||
|
|
Loading…
Reference in New Issue