Description of problem: It would be nice to update the /usr/share/cmake/Modules/FindBoost.cmake file, part of the cmake-2.6.4 package, so that: * it can handle Boost versions greater than 1.38 * it can find Boost-1.41 (see bug #673839), which is installed in non standard directories (e.g., /usr/include/boost141, %{_libdir}/boost141). Version-Release number of selected component (if applicable): cmake-2.6.4-5.el5.4 on EPEL 5 How reproducible: Always Steps to Reproduce: 1. Install boost141-devel on EPEL 5. 2. Remove boost (-1.33) and its dependencies. 3. Try to build some package needing Boost with a CMake-based building system. For instance: 3.1. mkdir -p tmp && cd tmp 3.2. fedpkg clone stdair 3.3. cd stdair 3.4. fedpkg srpm 3.5. fedpkg local Actual results: Boost141 is not found by the CMake build system. Expected results: Boost141 should be found by the CMake build system. Additional info:
The standard FindBoost.cmake file can find Boost-1.41 if setting the appropriate CMake variables. For instance: mkdir -p build && cd build cmake -DBOOST_LIBRARYDIR=/usr/lib/boost141 \ -DBOOST_INCLUDEDIR=/usr/include/boost141 \ -DBoost_ADDITIONAL_VERSIONS="1.41;1.41.0" .. works.