Set shared library on if so requested.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2b86e2cb95
commit
077c00a1a3
|
@ -19,6 +19,9 @@ class CreatureLibConan(ConanFile):
|
|||
if self.settings.os == "Windows":
|
||||
self.output.warn("Noticed Windows target, setting Cmake WINDOWS=On.")
|
||||
cmake.definitions["WINDOWS"] = "On"
|
||||
if self.options.shared:
|
||||
self.output.info("Building shared library.")
|
||||
cmake.definitions["SHARED"] = "On"
|
||||
if self.options.staticC:
|
||||
self.output.info("Linking C libraries statically")
|
||||
cmake.definitions["STATICC"] = "ON"
|
||||
|
|
Loading…
Reference in New Issue