You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the cmake function find_library() it accepts a parameter named "NAMES" but in cmakedeps_macro.cmake, generated by conan/tools/cmake/cmakedeps/templates/macros.py , the parameter name "NAME" is used by mistake.
See also: https://cmake.org/cmake/help/latest/command/find_library.html
As the NAMES parameter name is kind of optional, it currently works as it is but the find_library() function not only searches for the actual library by its name, but it also looks for a library called NAME.
This can bee seen, when cmake is run with the --debug-find argument.
I will provide a pull request for the fix.
The text was updated successfully, but these errors were encountered:
When using the cmake function find_library() it accepts a parameter named "NAMES" but in cmakedeps_macro.cmake, generated by conan/tools/cmake/cmakedeps/templates/macros.py , the parameter name "NAME" is used by mistake.
See also: https://cmake.org/cmake/help/latest/command/find_library.html
As the NAMES parameter name is kind of optional, it currently works as it is but the find_library() function not only searches for the actual library by its name, but it also looks for a library called NAME.
This can bee seen, when cmake is run with the --debug-find argument.
I will provide a pull request for the fix.
The text was updated successfully, but these errors were encountered: