Boost logo

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$,
"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:
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

Mike Jackson

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at