You could install boost to /usr/local if you're on linux/OSX? That's the 
standard location for non-system libs, CMake-Modules will look there.

On 2013-12-01, at 13:04:50 , peterle oberwi wrote:

> Hi,
> 
> I want to use Boost library in my project. But there is one version installed 
> in the system, but not the version I want to use in my project. Therefore I 
> build the version and installed to a directory in my home. When I want to use 
> this version it's very anyoing, because cmake find the system version. My 
> solution is to give a path to the find_package command and use my own modifed 
> cmake module to use my version. Is there an easier solution to use non-system 
> libraries without modifying the cmake module or to set specific variables 
> e.g. there are libraries like qt which have no variables which can be set.
> 
> regards 
> 
> peter
> --
> 
> 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

Reply via email to