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

Use boost library names instead of Boost_LIBRARIES var for .pc file generation #187

Open
wants to merge 1 commit into
base: noetic-devel
Choose a base branch
from

Commits on Oct 11, 2021

  1. Use boost library names instead of Boost_LIBRARIES var for .pc file g…

    …eneration
    
    In recent versions of FindBoost.cmake (e.g. on Ubuntu 20.04),
    Boost_LIBRARIES contains the cmake targets (Boost::thread,
    Boost::system) instead of library names.
    
    pkg-config --libs class_loader retruns
    [...]-lclass_loader Boost::thread\;Boost::system\;[...]
    
    Those cannot be linked downstream when cmake is not used or
    find_package(Boost) is not executed again to actually find/define the
    targets.
    
    Signed-off-by: Steffen Planthaber <[email protected]>
    planthaber committed Oct 11, 2021
    Configuration menu
    Copy the full SHA
    0e83af5 View commit details
    Browse the repository at this point in the history