Skip to content

Commit

Permalink
Fix export package step
Browse files Browse the repository at this point in the history
Use correct destination folder
  • Loading branch information
casperlamboo committed Dec 21, 2023
1 parent 8be6392 commit 4bce130
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ def layout(self):
self.cpp.package.resdirs = [os.path.join("resources", "cura"), os.path.join("resources", "uranium"), "windows"]

def package(self):
copy(self, "*", src = os.path.join(self.export_sources_folder, "cura"), dst = self.cpp.package.resdirs[0])
copy(self, "*", src = os.path.join(self.export_sources_folder, "uranium"), dst = self.cpp.package.resdirs[1])
copy(self, "*", src = os.path.join(self.export_sources_folder, "cura"), dst = os.path.join(self.package_folder, self.cpp.package.resdirs[0]))
copy(self, "*", src = os.path.join(self.export_sources_folder, "uranium"), dst = os.path.join(self.package_folder, self.cpp.package.resdirs[1]))

if self.settings.os == "Windows":
copy(self, "*", src = os.path.join(self.export_sources_folder, "windows"), dst = self.cpp.package.resdirs[2])
copy(self, "*", src = os.path.join(self.export_sources_folder, "windows"), dst = os.path.join(self.package_folder, self.cpp.package.resdirs[2]))

def package_info(self):
if self.settings.os == "Windows":
Expand Down

0 comments on commit 4bce130

Please sign in to comment.