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

BackwardConfig.cmake forcing dependency on BACKWARD_LIBRARIES #69

Open
thfabian opened this issue Jul 30, 2017 · 1 comment
Open

BackwardConfig.cmake forcing dependency on BACKWARD_LIBRARIES #69

thfabian opened this issue Jul 30, 2017 · 1 comment

Comments

@thfabian
Copy link

When including the BackwardConfig.cmake via find_package:

find_package(backward NO_MODULE REQUIRED)

it fails to properly detect backward if neither libdw nor libbfd are found as in this case BACKWARD_LIBRARIES is empty, hence the failure in find_package_handle_standard_args in https://github.com/bombela/backward-cpp/blob/master/BackwardConfig.cmake#L121 . Given that both libraries are optional, the failure should not be a hard error (even with REQUIRED)

thfabian added a commit to thfabian/backward-cpp that referenced this issue Jul 31, 2017
@BotellaA
Copy link
Contributor

BotellaA commented Mar 7, 2018

Any progress on merging this commit into the current repo?

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