Re: [CMake] Finding Boost in versioned layout on Linux

2018-10-24 Thread Mateusz Loskot
On Wed, 24 Oct 2018 at 22:17, Brad King wrote: > On 10/24/2018 01:22 PM, Mateusz Loskot wrote: > > So, I had to bend CMake this way to find Boost for me: > > > > cmake -DBoost_COMPILER=-gcc5 -DCMAKE_CXX_COMPILER_ARCHITECTURE_ID=x64 .. > > See these issues: > >

Re: [CMake] Finding Boost in versioned layout on Linux

2018-10-24 Thread Brad King
On 10/24/2018 01:22 PM, Mateusz Loskot wrote: > So, I had to bend CMake this way to find Boost for me: > > cmake -DBoost_COMPILER=-gcc5 -DCMAKE_CXX_COMPILER_ARCHITECTURE_ID=x64 .. See these issues: https://gitlab.kitware.com/cmake/cmake/issues/17701

[CMake] Finding Boost in versioned layout on Linux

2018-10-24 Thread Mateusz Loskot
Hi, I know the version layout of Boost build is preferred or even specific to Windows, but I like it in general, ie. on Linux. It lazily allows me to get everything built with single command: b2 variant=debug,release address-model=32,64 --layout=versioned stage The versioned layout impose some