Bug #5845
chef-libs/cmake finds wrong boost when boost is installed in the system and boost_internal=1 is selected on ubuntu 12.04
0%
Description
ubuntu 12.04.4 32bit
System has packages
boost1.48-dev
cmake (1.8.7)
When I try to build with boost_internal=1, build/chef-libs/CMakeCache.txt has boost pieces coming from both the internal built boost and the system boost.
Boost has been built in /home/egstern/syn2-dev-boost-internal/install
From built/chef-libs/CMakeCache.txt
Boost_INCLUDE_DIR:PATH=/home/egstern/syn2-dev-boost-internal/install/include
//Boost library directory
Boost_LIBRARY_DIRS:FILEPATH=/home/egstern/syn2-dev-boost-internal/install/lib
//The Boost PYTHON library
Boost_PYTHON_LIBRARY:FILEPATH=/home/egstern/syn2-dev-boost-internal/install/lib/libboost_python.so
which is fine, and
//The Boost REGEX library
Boost_REGEX_LIBRARY:FILEPATH=/usr/lib/libboost_regex-mt.so
//The Boost SERIALIZATION library
Boost_SERIALIZATION_LIBRARY:FILEPATH=/usr/lib/libboost_serialization-mt.so
//The Boost SYSTEM library
Boost_SYSTEM_LIBRARY:FILEPATH=/usr/lib/libboost_system-mt.so
Boost_UNIT_TEST_FRAMEWORK_LIBRARY:FILEPATH=/usr/lib/libboost_unit_test_framework-mt.so
which are incorrect.
Probably its a cmake bug and not worth chasing, but I'm documenting.