catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
conanfile: fix cmake_target_name of Catch2::Catch2.
- Commit
df04df94dbe59efdb7496f3d9872f55cbc61bb24- Author
- Vincent Saulue-Laborde ·
- Committer
- Martin Hořeňovský
- Parents
f2320724a74f
Changes
conanfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/conanfile.py b/conanfile.py index bcdd426f..7a3ac7c3 100755 --- a/conanfile.py +++ b/conanfile.py @@ -116,6 +116,7 @@ class CatchConan(ConanFile): # Catch2 self.cpp_info.components["catch2base"].set_property("cmake_file_name", "Catch2::Catch2") + self.cpp_info.components["catch2base"].set_property("cmake_target_name", "Catch2::Catch2") self.cpp_info.components["catch2base"].set_property("pkg_config_name", "catch2") self.cpp_info.components["catch2base"].libs = ["Catch2" + lib_suffix] self.cpp_info.components["catch2base"].builddirs.append("lib/cmake/Catch2")