Browse Source

Add dynamic libs from lib path to binaries

Should fix missing protoc on MacOS

Contributes to CURA-9365
jellespijker 2 years ago
parent
commit
8a14406c63
1 changed files with 3 additions and 0 deletions
  1. 3 0
      conanfile.py

+ 3 - 0
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")])