mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-04 21:29:54 +01: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
@ -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…
Reference in New Issue
Block a user