The following issue has been SUBMITTED. ====================================================================== https://cmake.org/Bug/view.php?id=16020 ====================================================================== Reported By: Tom Jakubowski Assigned To: ====================================================================== Project: CMake Issue ID: 16020 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2016-03-14 22:00 EDT Last Modified: 2016-03-14 22:00 EDT ====================================================================== Summary: FindBoost "Automatically add missing component dependencies" fails with header-only libraries Description: If only some separately-compiled Boost libraries are installed, so that Boost components like Boost.Atomic and Boost.DateTime are used header-only, find_package(Boost REQUIRED COMPONENTS thread) will fail with:
:1647 (message): Unable to find the requested Boost libraries. Boost version: 1.56.0 Boost include path: /opt/foo/deps-64-10/include Could not find the following Boost libraries: boost_atomic boost_chrono boost_date_time If a full installation of Boost 1.56, with all optional separately-compiled libraries, is used instead, then the FindBoost() call succeeds. This is a regression from CMake 3.4. It seems like https://github.com/Kitware/CMake/commit/01c80acdbdadf3811bc0a6cab0c28469a4e9f5b7 is probably responsible. Also related to bug 15767. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2016-03-14 22:00 Tom Jakubowski New Issue ====================================================================== -- 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://public.kitware.com/mailman/listinfo/cmake-developers