|
|
Commits 89b9575 and yet another fix for shared libs in e39c96f should fix all issues related to your Conan build.
@jwillikers Please test again and confirm that it works for you now.
This works! Thank you!!
@jwillikers I'd be all ears if you found a workable solution other (better) than mine in above mentioned commits.
I'll certainly let you know if I do!
The link libraries found by pkg-config are provided as absolute paths to the libs in the FLTK targets in FLTKConfig.cmake or in the related FLTK-Targets file. This seems to be useful (and intended by CMake) because you might otherwise find different shared libs on a system in the consumer's CMake environment.
CMake's pkg_check_modules seems to predate its support for imported targets, which is probably why it provides the libraries in a way where you can add them directly to target_link_libraries type calls without having to use an additional variable containing the link directories. CMake seems to provide find_dependency for this purpose, as it's meant to be used in CMake package files, but it's meant to easily work for find_package calls and not pkg_check_modules calls.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/pull/954/c2069203416@github.com>
[ Direct Link to Message ] | |
|
| |