[cmake-developers] [CMake 0016013]: FindBoost: iostreams depends on regex [3.5 regression]

Mantis Bug Tracker mantis at public.kitware.com
Fri Mar 11 05:44:53 EST 2016


The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=16013 
====================================================================== 
Reported By:                Ruslan Baratov
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   16013
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-03-11 05:44 EST
Last Modified:              2016-03-11 05:44 EST
====================================================================== 
Summary:                    FindBoost: iostreams depends on regex [3.5
regression]
Description: 
Looks like the fact that boost.iostreams depends on boost.regex hardcoded in new
version of FindBoost module. So such code no longer works:
 
    find_package(Boost REQUIRED COMPONENTS iostreams)

and produce an error:

   Could not find the following static Boost libraries:
       boost_regex

if I have only boost.iostreams installed (without boost.regex).

Example works fine (build/run) without boost.regex with CMake 3.4.3
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-03-11 05:44 Ruslan Baratov New Issue                                    
======================================================================



More information about the cmake-developers mailing list