Open Oodini opened 8 months ago
It's not an issue. This parameter ensures backward compatibility of this recipe with legacy cmake_find_package/cmake_find_package_multi generators, and conan v2 displays a deprecation warning.
According the documentation, it should be replaced by
self.cpp_info.names
.
self.cpp_info.names
is the parameter reported as deprecated, so there is nothing to replace.
Description
When installing the package, there is a warning about the deprecated attribute cpp_info.names :
According the documentation, it should be replaced by
self.cpp_info.names
.Package and Environment Details
Conan profile
conan profile show default
doesn't work, whereas there is a default profile...Steps to reproduce
conan install . --output-folder=build --build=missing
Logs
Click to expand log
``` WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X: WARN: deprecated: 'cpp_info.names' used in: zlib/1.3 ```