Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjellespijker <j.spijker@ultimaker.com>2022-07-05 23:34:19 +0300
committerjellespijker <j.spijker@ultimaker.com>2022-07-05 23:34:19 +0300
commit8a14406c637c49e40bfd32a2d6d6e0fa65f988ae (patch)
tree165a565fd773eee7a5ef6b99154248eaf38c61ba /conanfile.py
parent03af1dbd4f000f524ccab2b9e20e2fde50302e40 (diff)
Add dynamic libs from lib path to binaries
Should fix missing protoc on MacOS Contributes to CURA-9365
Diffstat (limited to 'conanfile.py')
-rw-r--r--conanfile.py3
1 files changed, 3 insertions, 0 deletions
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")])