Fixed Ultimaker-Cura spec

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-06-30 23:26:22 +02:00 committed by Jelle Spijker
parent 21e69a8c67
commit c4aee2a6b6
2 changed files with 3 additions and 1 deletions

View file

@ -48,7 +48,7 @@ exe = EXE(
target_arch=None, target_arch=None,
codesign_identity=None, codesign_identity=None,
entitlements_file=None, entitlements_file=None,
icon='{{ icon }}' icon=r'{{ icon }}'
) )
coll = COLLECT( coll = COLLECT(
exe, exe,

View file

@ -170,6 +170,8 @@ class CuraConan(ConanFile):
conan_binaries = [] conan_binaries = []
for _, dependency in self.dependencies.host.items(): for _, dependency in self.dependencies.host.items():
if dependency.ref.name == "cpython":
continue
for bin_paths in dependency.cpp_info.bindirs: for bin_paths in dependency.cpp_info.bindirs:
conan_binaries.extend(Path(bin_paths).glob("**/*.dll")) conan_binaries.extend(Path(bin_paths).glob("**/*.dll"))
conan_binaries.extend(Path(bin_paths).glob("**/*.dylib")) conan_binaries.extend(Path(bin_paths).glob("**/*.dylib"))