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 mailing list
Boost-cmake@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-cmake

Reply via email to