Only use shared grpc defs on Linux

Contributes to CURA-10951
This commit is contained in:
jellespijker 2023-08-31 08:40:11 +02:00 committed by Jelle Spijker
parent f958d69f1c
commit 5cf2ecc666

View File

@ -296,7 +296,8 @@ class CuraConan(ConanFile):
self.options["pynest2d"].shared = True
self.options["cpython"].shared = True
self.options["boost"].header_only = True
self.options["curaengine_grpc_definitions"].shared = True
if self.settings.os == "Linux":
self.options["curaengine_grpc_definitions"].shared = True
def validate(self):
version = self.conf_info.get("user.cura:version", default = self.version, check_type = str)