mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 04:37:51 -06:00
use copy_deps for copying curaengine
conf doesn't work as expected in Conan<2.0 Contributes to CURA-10317
This commit is contained in:
parent
374a42dea9
commit
c2721abf87
1 changed files with 5 additions and 2 deletions
|
@ -362,8 +362,11 @@ class CuraConan(ConanFile):
|
|||
|
||||
def deploy(self):
|
||||
# Copy CuraEngine.exe to bindirs of Virtual Python Environment
|
||||
curaengine_exe = Path(self.conf.get("user.curaengine:curaengine"))
|
||||
copy(self, "*", str(curaengine_exe.parent), self._base_dir, keep_path=False)
|
||||
self.copy_deps("CuraEngine.exe", root_package = "curaengine", src = self.deps_cpp_info["curaengine"].bindirs[0],
|
||||
dst = self._base_dir,
|
||||
keep_path = False)
|
||||
self.copy_deps("CuraEngine", root_package = "curaengine", src = self.deps_cpp_info["curaengine"].bindirs[0], dst = self._base_dir,
|
||||
keep_path = False)
|
||||
|
||||
# Copy resources of Cura (keep folder structure)
|
||||
copy(self, "*", self.cpp_info.bindirs[0], str(self._base_dir), keep_path = False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue