Boost logo

Boost Interest :

Subject: Re: [Boost-cmake] Release 1.41.0.cmake0
From: troy d. straszheim (troy_at_[hidden])
Date: 2009-11-19 17:46:37


Surya Kiran Gullapalli wrote:
> One more thing I've observed is the Install target. The boost
> include headers are installed in ${CMAKE_INSTALL_PREFIX}/include,
> instead of ${CMAKE_INSTALL_DIRECTORY}/include/boost-1_41. I'm using
> cmake for my project and cmake checks for
> include/boost-1_41/boost/version.hpp file (I'm using cmake-2.8)
>
>
> On linux, the include headers are installed under
> ${CMAKE_INSTALL_PREFIX}/include/boost-1.41.0 and libraries are installed
> under ${CMAKE_INSTALL_PREFIX}/lib/boost-1.41.0
>
> I've specified BOOST_INCLUDE_INSTALL_DIR and BOOST_LIB_INSTALL_DIR to
> change them but to no avail.

Yes the build was being overly clever here. This behavior is documented
but inconsipcuously. Workaround: set INSTALL_VERSIONED to OFF, then
you can change those variables.

I've changed this behavior and cleaned up the docs a bit, this will be
in the next patch release.

-t


Boost-cmake 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