Skip to content

Commit

Permalink
#252 Copy Catch.cmake
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
uilianries committed Oct 31, 2019
1 parent 8ef5c3a commit 91d9ed9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions recipes/catch2/2.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ def package(self):
cmake.install()
tools.rmdir(os.path.join(self.package_folder, "lib", "cmake"))
tools.rmdir(os.path.join(self.package_folder, "share"))
self.copy("ParseAndAddCatchTests.cmake",
src=os.path.join(self._source_subfolder, "contrib"),
dst=os.path.join("lib", "cmake", "Catch2"))
for cmake_file in ["ParseAndAddCatchTests.cmake", "Catch.cmake"]:
self.copy(cmake_file,
src=os.path.join(self._source_subfolder, "contrib"),
dst=os.path.join("lib", "cmake", "Catch2"))

def package_id(self):
self.info.header_only()
Expand Down

0 comments on commit 91d9ed9

Please sign in to comment.