[CMake] FindBoost: FIND_PACKAGE ( Boost COMPONENTS filesystem )

Philip Lowman philip at yhbt.com
Mon Nov 2 10:41:39 EST 2009


Which FindBoost are you using?  I'm pretty sure I fixed this issue a while
ago.

On Nov 2, 2009 9:46 AM, "Mathieu Malaterre" <mathieu.malaterre at gmail.com>
wrote:

Hi there,

 I am wondering if I am missing something. I'd like to write:

FIND_PACKAGE ( Boost COMPONENTS filesystem )

 However using a recent boost (1.40), it gives a linker error. So I
need to write something like:

FIND_PACKAGE ( Boost COMPONENTS filesystem system )

 but then it breaks compatibility with boost 1.34 (default package on
one of my ubuntu machine). What is the synthetic way for writing this
? I am linking to filesystem, I do not want to explicitely search for
an implementation detail.

Thanks,
--
Mathieu
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091102/a02374b5/attachment-0001.htm>


More information about the CMake mailing list