[cmake-developers] [CMake 0016020]: FindBoost "Automatically add missing component dependencies" fails with header-only libraries
Mantis Bug Tracker
mantis at public.kitware.com
Mon Mar 14 22:00:22 EDT 2016
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
======================================================================
More information about the cmake-developers
mailing list