Skip to content

Commit 2bcace4

Browse files
authored
Merge pull request #164 from Ultimaker/CURA-12675_dll_shenanigans_build
[CURA-12675] workaround for anti-virus forcing version of DLL on Cura
2 parents ccf276e + 1227206 commit 2bcace4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ def build_requirements(self):
119119

120120
def generate(self):
121121
tc = CMakeToolchain(self)
122+
123+
tc.preprocessor_definitions["_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR"] = 1
124+
122125
if is_msvc(self):
123126
tc.variables["USE_MSVC_RUNTIME_LIBRARY_DLL"] = not is_msvc_static_runtime(self)
124127
tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0077"] = "NEW"

0 commit comments

Comments
 (0)