From 26622f16203516adf32fd7130fc1eeab5746fc1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Sun, 3 May 2020 19:34:34 +0200 Subject: [PATCH] Fix Conan recipe Apparently cpp_info.libs is a list of _filenames_ and not _targets_. Oh well. --- 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"