mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Compile libffi and mpdecimal statically on Windows
Contributes to CURA-9365
This commit is contained in:
parent
0fb8d62825
commit
a31124673b
2 changed files with 8 additions and 1 deletions
|
@ -86,7 +86,10 @@ class CuraConan(ConanFile):
|
|||
def configure(self):
|
||||
self.options["*"].shared = True
|
||||
if self.settings.os == "Windows":
|
||||
self.options["mpdecimal"].cxx = False
|
||||
# Needed to compile CPython on Windows with our configuration voor Visual Studio
|
||||
self.options["mpdecimal"].cxx = True
|
||||
self.options["mpdecimal"].shared = False
|
||||
self.options["libffi"].shared = False
|
||||
|
||||
def validate(self):
|
||||
if self.version and tools.Version(self.version) <= tools.Version("4"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue