From fb49a112911802bc64d738e7d72c132e287e1754 Mon Sep 17 00:00:00 2001 From: Murray Johnson Date: Mon, 13 Jun 2022 08:54:16 -0700 Subject: [PATCH] Add lib/cmake/Catch2 to conan builddirs in package recipe so extras/*.cmake files are packaged --- conanfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/conanfile.py b/conanfile.py index c6f12e0727..7aa27ef599 100644 --- a/conanfile.py +++ b/conanfile.py @@ -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"