[CMake] Expected boost path structure.
David Cole
david.cole at kitware.com
Thu Feb 17 11:05:58 EST 2011
Are you escaping the "\" characters, like this?
set(BOOST_ROOT "X:\\32bit\\VC ...")
Or using the CMake convention "/" as a path separator character?
set(BOOST_ROOT "X:/32bit/VC ...")
(this is the one you should be doing...)
What version of CMake?
On Thu, Feb 17, 2011 at 10:11 AM, John Drescher <drescherjm at gmail.com> wrote:
> I am trying to get FIND_PACKAGE(BOOST REQUIRED) to work on windows.
> After building boost-1.45.0 on windows with the following command
>
> bjam --build-dir="X:\32Bit\VC.90\build\Libraries\boost-1.45.0"
> toolset=msvc-9.0 --prefix="X:\32bit\VC.90\Libraries\boost-1.45.0"
> --build-type=complete install
>
> and installing I have the following structure for the installed boost.
>
> X:\32bit\VC.90\Libraries\boost-1.45.0\include\boost-1_45\boost
> X:\32bit\VC.90\Libraries\boost-1.45.0\lib
>
> I tried to set BOOST_ROOT to X:\32bit\VC.90\Libraries\boost-1.45.0 but
> CMake does not find boost with that root.
>
> What is the expected path layout so that setting BOOST_ROOT will find
> boost-1.45.0 ?
>
>
>
> Thanks,
> John M. Drescher
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
More information about the CMake
mailing list