mirror of
https://github.com/catchorg/Catch2.git
synced 2025-06-02 18:07:59 +00:00
Fix Conan recipe
Apparently cpp_info.libs is a list of _filenames_ and not _targets_. Oh well.
This commit is contained in:
parent
c086746cc9
commit
26622f1620
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue