Progmasoft Git

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

Fix Conan recipe

Apparently cpp_info.libs is a list of _filenames_ and not _targets_.
Oh well.
Commit
26622f16203516adf32fd7130fc1eeab5746fc1e
Author
Martin Hořeňovský ·
Parents
c086746cc9b4

Files · Download .tar.gz

Changes

 conanfile.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conanfile.py b/conanfile.py
index 1379f8c4..3a1bf224 100644
--- a/conanfile.py
+++ b/conanfile.py
@@ -40,6 +40,6 @@ class CatchConan(ConanFile):
 
     def package_info(self):
         self.cpp_info.libs = [
-            'Catch2WithMain', 'Catch2'] if self.options.with_main else ['Catch2']
+            'Catch2Main', 'Catch2'] if self.options.with_main else ['Catch2']
         self.cpp_info.names["cmake_find_package"] = "Catch2"
         self.cpp_info.names["cmake_find_package_multi"] = "Catch2"