Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorj.spijker@ultimaker.com <jelle spijker>2022-06-19 15:34:26 +0300
committerJelle Spijker <j.spijker@ultimaker.com>2022-06-19 15:34:26 +0300
commit05191af96f28b6cfc23845a88f70afe00cedf815 (patch)
treee87c7002d3ea3d19edd7f089e41a40aa4d47e556 /conanfile.py
parent74bd18386919f400dd1dc6ca1a56a846a9bba248 (diff)
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
Diffstat (limited to 'conanfile.py')
-rw-r--r--conanfile.py2
1 files changed, 2 insertions, 0 deletions
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"):