Skip to content

Commit

Permalink
Add lib/cmake/Catch2 to conan builddirs in package recipe so extras/*…
Browse files Browse the repository at this point in the history
….cmake files are packaged
  • Loading branch information
mjohnsonwy committed Jun 13, 2022
1 parent d32fca4 commit fb49a11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def package_info(self):
self.cpp_info.components["catch2base"].names["cmake_find_package_multi"] = "Catch2"
self.cpp_info.components["catch2base"].names["pkg_config"] = "Catch2"
self.cpp_info.components["catch2base"].libs = ["Catch2" + lib_suffix]
self.cpp_info.components["catch2base"].builddirs.append("lib/cmake/Catch2")
# Catch2WithMain
self.cpp_info.components["catch2main"].names["cmake_find_package"] = "Catch2WithMain"
self.cpp_info.components["catch2main"].names["cmake_find_package_multi"] = "Catch2WithMain"
Expand Down

0 comments on commit fb49a11

Please sign in to comment.