[CMake] FindBoost: FIND_PACKAGE ( Boost COMPONENTS filesystem )
Mathieu Malaterre
mathieu.malaterre at gmail.com
Wed Nov 4 13:57:44 EST 2009
On Wed, Nov 4, 2009 at 7:50 PM, Philip Lowman <philip at yhbt.com> wrote:
> Personally, I think FindBoost is complex enough without having to also keep
> track of boost's internal dependencies as well. Maybe things would be
> better if the boost people published this info with every release.
I understand your point. Thanks for maintaining this module.
> If you'd like to check in support for the feature and volunteer to maintain
> it, however, that's fine by me. It would make so much more sense to do
> within Boost itself, though.
Yup, using cmake this would be trivial:
ADD_LIBRARY(filesystem ${filesystem_SRCS})
SET_TARGET_PROPERTIES(filesystem LINK_INTERFACE_LIBRARIES "system")
If only those people could ditch, this bjam based build system and
start using the cmake one...
--
Mathieu
More information about the CMake
mailing list