From 05191af96f28b6cfc23845a88f70afe00cedf815 Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Sun, 19 Jun 2022 14:34:26 +0200 Subject: [PATCH] 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 --- conanfile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conanfile.py b/conanfile.py index 077272eb9e..0a24eddd18 100644 --- a/conanfile.py +++ b/conanfile.py @@ -85,6 +85,8 @@ class CuraConan(ConanFile): def configure(self): self.options["*"].shared = True + if self.settings.os == "Windows": + self.options["mpdecimal"].cxx = False def validate(self): if self.version and tools.Version(self.version) <= tools.Version("4"):