[Bug 224185] [cmake] net/ceph and net/ceph-devel: fails to build with boost 1.66
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 27 17:29:21 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224185
--- Comment #13 from Adriaan de Groot <adridg at freebsd.org> ---
The magic is this: CMake's FindBoost module defines something called an
*imported target*, which is called something like Boost::Thread, or
Boost::date_time. These imported targets do a couple of things when they are
linked-to (e.g. by doing `target_link_libraries(ceph Boost::Thread)` ):
- add include paths
- expand to a bunch of -l flags
When the imported target isn't defined, CMake thinks it's just a regular
library name.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kde-freebsd
mailing list