mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 12:19:03 +08:00
Filter on specific extensions
Contributes to CURA-9711
This commit is contained in:
parent
2079bd5a6e
commit
8cf475694f
@ -219,9 +219,10 @@ class CuraConan(ConanFile):
|
|||||||
# Make sure all Conan dependencies which are shared are added to the binary list for pyinstaller
|
# Make sure all Conan dependencies which are shared are added to the binary list for pyinstaller
|
||||||
for _, dependency in self.dependencies.host.items():
|
for _, dependency in self.dependencies.host.items():
|
||||||
for bin_paths in dependency.cpp_info.bindirs:
|
for bin_paths in dependency.cpp_info.bindirs:
|
||||||
binaries.extend([(f"{p}", ".") for p in Path(bin_paths).glob("**/*")])
|
binaries.extend([(f"{p}", ".") for p in Path(bin_paths).glob("**/*.dll")])
|
||||||
for lib_paths in dependency.cpp_info.libdirs:
|
for lib_paths in dependency.cpp_info.libdirs:
|
||||||
binaries.extend([(f"{p}", ".") for p in Path(lib_paths).glob("**/*")])
|
binaries.extend([(f"{p}", ".") for p in Path(lib_paths).glob("**/*.so*")])
|
||||||
|
binaries.extend([(f"{p}", ".") for p in Path(lib_paths).glob("**/*.dylib*")])
|
||||||
|
|
||||||
# Copy dynamic libs from lib path
|
# Copy dynamic libs from lib path
|
||||||
binaries.extend([(f"{p}", ".") for p in Path(self._base_dir.joinpath("lib")).glob("**/*.dylib*")])
|
binaries.extend([(f"{p}", ".") for p in Path(self._base_dir.joinpath("lib")).glob("**/*.dylib*")])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user