[CMake] Can't use Boost ??

Matthieu Brucher matthieu.brucher at gmail.com
Tue Oct 17 09:52:00 EDT 2006


oops... thanks...

On 10/17/06, Brad King <brad.king at kitware.com> wrote:
>
> Matthieu Brucher wrote:
> > Hi,
> >
> > I'm trying to use Boost in my applications. On Windows, no problem, it
> > can now find the good headers and libraries thank to FindBoost.cmake.
> > On Linux, on FC5 or on Debian testing, I have cmake 2.4-patch3, with the
> > FindBoost.cmake file, but when I launch cmake, i complains that
> > BOOST_DIR is not set and that it must be set to the directory containing
> > BOOSTConfig.cmake. But I do not posess afile named like that, and
> > looking after it on the web - google - did not find a match, so I really
> > don't understand why I should have this file on Linux and not on Windows
> :(
> > Any hint toward a solution ?
>
> You need to call
>
> FIND_PACKAGE(Boost)
>
> not
>
> FIND_PACKAGE(BOOST)
>
> Package names are case sensitive.
>
> -Brad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20061017/e6e32344/attachment.html


More information about the CMake mailing list