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 authored and horenmar committed Jun 15, 2022
1 parent fa94164 commit 8110ee9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conanfile.py
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 8110ee9

Please sign in to comment.