Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmake warning on find_package(Backward) #188

Closed
maxlein opened this issue Sep 8, 2020 · 1 comment
Closed

Cmake warning on find_package(Backward) #188

maxlein opened this issue Sep 8, 2020 · 1 comment

Comments

@maxlein
Copy link

maxlein commented Sep 8, 2020

I get a cmake warnings for every dependency when calling find_package(Backward):

The package name passed to `find_package_handle_standard_args` (libdw) does
  not match the name of the calling package (Backward).  
...  
The package name passed to `find_package_handle_standard_args` (libbfd)
  does not match the name of the calling package (Backward).  
...
The package name passed to `find_package_handle_standard_args` (libdwarf)
  does not match the name of the calling package (Backward).  
...

Any info on this?

@jbakosi
Copy link
Contributor

jbakosi commented Feb 3, 2021

https://cmake.org/cmake/help/latest/module/FindPackageHandleStandardArgs.html seems relevant, especially the doc on var NAME_MISMATCHED, but the solution at https://codereview.qt.nokia.com/c/qt/qtbase/+/298871/1/cmake/3rdparty/extra-cmake-modules/modules/ECMFindModuleHelpers.cmake does not seem to suppress the warnings.

bombela added a commit that referenced this issue Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants