set mpdecimal cxx option to false on windows

the combination of compiling it shared and with cxx is invalid
on Windows. We don't use the cxx capabilities of mpdecimal

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-06-19 14:34:26 +02:00 committed by Jelle Spijker
parent 74bd183869
commit 05191af96f

View file

@ -85,6 +85,8 @@ class CuraConan(ConanFile):
def configure(self): def configure(self):
self.options["*"].shared = True self.options["*"].shared = True
if self.settings.os == "Windows":
self.options["mpdecimal"].cxx = False
def validate(self): def validate(self):
if self.version and tools.Version(self.version) <= tools.Version("4"): if self.version and tools.Version(self.version) <= tools.Version("4"):