Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 2017 17:29:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224185] [cmake] net/ceph and net/ceph-devel: fails to build with boost 1.66
Message-ID:  <bug-224185-13-4XKQKnGIOa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224185-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224185-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224185

--- Comment #13 from Adriaan de Groot <adridg@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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224185-13-4XKQKnGIOa>