Am 24.01.2014 13:25, schrieb Pritesh Acharya:
Hi,
I have installed boost 1.55.0 in my Ubuntu 12.04.
But the Command "cmake --help-module FindBoost" is showing older
version
(1.36.0).
I checked /usr/share/cmake-2.8/Modules/ and found the file
"FindBoost.cmake" having 1.36.0 mentioned.
Is it because of the FindBoost.cmake being old that i'm getting older
version ?
Since you are not telling us your CMake version I can't say for sure,
but it may just be that the FindBoost module does not know about the
newer Boost version.
how can i update the FindBoost.cmake file so that I get new version ?
set(Boost_ADDITIONAL_VERSIONS 1.55 1.55.0)
find_package(Boost)
Make sure to do that with a clean cache (e.g. new build dir), otherwise
the result of the previous run will be reused.
Eike
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake