|
Boost-Build : |
Subject: Re: [Boost-build] Boost Root directory structure for CMAKE
From: Michael Jackson (mike.jackson_at_[hidden])
Date: 2011-10-26 09:07:11
On 10/25/11 11:26 AM, in article 019601cc932a$7f483590$7dd8a0b0$@sky.com,
"Alistair Lowe" wrote:
> Hi guys,
>
> I've been building Boost with the following command:
>
> bjam install --prefix=myInstallLoation toolset=gcc-arm target-os=linux
>
> This leaves me with the following directory structure:
> ---------------------------------
> myInstallLocation
>> include
>> Boost-1_47
>> Boost
>> lib
> ---------------------------------
>
> If I tell a CMAKE project that Boost is located at 'myInstallLocation' it's
> unable to find boost.
>
> Does anyone know what directory structure CMAKE is looking for and if
> there's a way to automatically generate files for such a structure?
>
> Many thanks,
> Alistair
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
Are you setting the proper version of Boost to look for? Is this on Linux or
Windows? What version of CMake are you using? If it is a recent version of
CMake there should be some sort of verbose output from the CMake run which
might help you figure out what is going wrong. Lots of people use Boost with
CMake everyday so it _should_ work. Sometimes there are some subtle setups
in the CMakeLists.txt file that need to be performed based on type of
installation.
Mike Jackson
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk