Skip to content

Commit

Permalink
always export tests when required
Browse files Browse the repository at this point in the history
Options are unknown at this time.

Contributes to CURA-10951
  • Loading branch information
jellespijker committed Aug 29, 2023
1 parent eb6ff97 commit 9eea2b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ def export_sources(self):
copy(self, "CMakeLists.txt", self.recipe_folder, self.export_sources_folder)
copy(self, "*", path.join(self.recipe_folder, "src"), path.join(self.export_sources_folder, "src"))
copy(self, "*", path.join(self.recipe_folder, "include"), path.join(self.export_sources_folder, "include"))
if self.options.enable_testing:
copy(self, "*", path.join(self.recipe_folder, "tests"), path.join(self.export_sources_folder, "tests"))
copy(self, "*", path.join(self.recipe_folder, "tests"), path.join(self.export_sources_folder, "tests"))

def layout(self):
cmake_layout(self)
Expand Down

0 comments on commit 9eea2b9

Please sign in to comment.