backward-cpp icon indicating copy to clipboard operation
backward-cpp copied to clipboard

BackwardConfig.cmake forcing dependency on BACKWARD_LIBRARIES

Open thfabian opened this issue 8 years ago • 1 comments

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 avatar Jul 30 '17 12:07 thfabian

Any progress on merging this commit into the current repo?

BotellaA avatar Mar 07 '18 16:03 BotellaA