Dear Petar,

In cmake 2.8.3, you can set Boost_NO_SYSTEM_PATHS to true.

Kind regards,
Andreas Naumann

Am 11.04.2012 15:04, schrieb Petar Marendic:
Greetings,

I recently noticed that FindPackage always begins its search for package Boost in /usr/lib and only thereafter in the directory specified by variable BOOST_ROOT. This can cause problems if there already are Boost libraries in the /usr/lib directory as they will be selected over those (or together with those) located in BOOST_ROOT subdirectories.

Is this intended behavior and if so what is the conventional procedure to resolve such issues?

This behaviour was exhibited with CMake version 2.8.0, Ubuntu 10.04.3 LTS Lucid Lynx and Boost version 1.49.0

Kind regards,
Petar Marendich
-- 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