Add dynamic libs from lib path to binaries

Should fix missing protoc on MacOS

Contributes to CURA-9365
This commit is contained in:
jellespijker 2022-07-05 22:34:19 +02:00
parent 03af1dbd4f
commit 8a14406c63

View file

@ -176,6 +176,9 @@ class CuraConan(ConanFile):
binaries.extend([(f"{p}", ".") for p in Path(bin_paths).glob("**/*.dylib")])
binaries.extend([(f"{p}", ".") for p in Path(bin_paths).glob("**/*.so")])
# Copy dynamic libs from lib path
binaries.extend([(f"{p}", ".") for p in Path(self._base_dir.joinpath("lib")).glob("**/*.dylib")])
# Collect all dll's from PyQt6 and place them in the root
binaries.extend([(f"{p}", ".") for p in Path(self._site_packages, "PyQt6", "Qt6").glob("**/*.dll")])