Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMurray Johnson2022-06-13 08:54:16 -0700
committerMartin Hořeňovský2022-06-15 10:50:24 +0200
commit8110ee92060f3734af9210ecec4ff41b8e361b56 (patch)
tree0eb325d073cefd0ac4bc633bd6cf684350bd98b0
parentfa9416426adda74f41af014dd8b22ce17a7afca7 (diff)
downloadcatch3-8110ee92060f3734af9210ecec4ff41b8e361b56.tar.gz
Add lib/cmake/Catch2 to conan builddirs in package recipe so extras/*.cmake files are packaged
-rw-r--r--conanfile.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/conanfile.py b/conanfile.py
index c6f12e07..7aa27ef5 100644
--- a/conanfile.py
+++ b/conanfile.py
@@ -51,6 +51,7 @@ conan_basic_setup()'''.format(line_to_replace, self.install_folder.replace("\\",
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"