This commit is contained in:
1 file changed
+3
@@ -19,6 +19,9 @@ class CreatureLibConan(ConanFile):
|
|||||||
if self.settings.os == "Windows":
|
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"
|
||||||
|
if self.options.shared:
|
||||||
|
self.output.info("Building shared library.")
|
||||||
|
cmake.definitions["SHARED"] = "On"
|
||||||
if self.options.staticC:
|
if self.options.staticC:
|
||||||
self.output.info("Linking C libraries statically")
|
self.output.info("Linking C libraries statically")
|
||||||
cmake.definitions["STATICC"] = "ON"
|
cmake.definitions["STATICC"] = "ON"
|
||||||
|
|||||||
Reference in new issue
Block a user