diff options
| author | Martin Hořeňovský | 2020-05-03 19:34:34 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-05-03 19:34:37 +0200 |
| commit | 26622f16203516adf32fd7130fc1eeab5746fc1e (patch) | |
| tree | ce98e5c99f759baf8f415f9765e1aff7ceea8ba0 | |
| parent | c086746cc9b4701f19b1b9f2239fd9aba18223bd (diff) | |
| download | catch3-26622f16203516adf32fd7130fc1eeab5746fc1e.tar.gz | |
Fix Conan recipe
Apparently cpp_info.libs is a list of _filenames_ and not _targets_.
Oh well.
| -rw-r--r-- | conanfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
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" |