Just to make sure: set BOOST_ROOT=X:\32bit\VC.90\Libraries\boost-1.45.0
Won't work? Or setting it to this value in the Computer > Properties > Environment variables section? I thought cmake worked fine with the path separator that is native to the OS. Would be strange if it didn't. Arjen >-----Original Message----- >From: [email protected] [mailto:[email protected]] On Behalf >Of David Cole >Sent: donderdag 17 februari 2011 17:42 >To: John Drescher >Cc: CMake mailing list >Subject: Re: [CMake] Expected boost path structure. > >On Thu, Feb 17, 2011 at 11:37 AM, John Drescher <[email protected]> >wrote: >>> According to FindBoost.cmake: >>> >>> if (NOT BOOST_ROOT AND NOT $ENV{BOOST_ROOT} STREQUAL "") >>> set(BOOST_ROOT $ENV{BOOST_ROOT}) >>> endif() >>> >>> So, it should work with an ENV var, too. But the way this is phrased, >>> it would have to have forward slashes "/" and no spaces in it for it >>> to work. >>> >> >> I launched cmake-gui from a Visual Studio 2008 32 bit command prompt >> with the BOOST_ROOT environment variable set in that command prompt. >> >> X:\Other\Libraries\boost_1_45_0>set BOOST_ROOT >> BOOST_ROOT="X:/32bit/VC.90/Libraries/boost-1.45.0" >> >> Is there a way to have cmake-gui show its environment variables? >> >> John >> >> >> -- >> John M. Drescher >> > >Take away the quotes in the env var. They are actually embedded in the >env var, so they'll end up in the CMake variable, too. If you print >out the CMake variable that gets set based on that env value, then it >will have double quotes in it. >_______________________________________________ >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 _______________________________________________ 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
