From 8a14406c637c49e40bfd32a2d6d6e0fa65f988ae Mon Sep 17 00:00:00 2001 From: jellespijker Date: Tue, 5 Jul 2022 22:34:19 +0200 Subject: [PATCH] Add dynamic libs from lib path to binaries Should fix missing protoc on MacOS Contributes to CURA-9365 --- conanfile.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conanfile.py b/conanfile.py index ea07c8e9b1..06c36d97ef 100644 --- a/conanfile.py +++ b/conanfile.py @@ -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")])