MantisBT - CMake
View Issue Details
0014985CMakeModulespublic2014-06-22 07:362015-01-05 08:38
Nico Schlömer 
 
normalminoralways
closedunable to reproduce 
 
 
0014985: [Boost] can't file iostreams
Starting with CMake 3.0, the Boost module doesn't correctly find the iostreams COMPONENT of boost anymore.
cmake_minimum_required(VERSION 2.8)

project(test)

find_package(Boost COMPONENTS iostreams REQUIRED)
No tags attached.
Issue History
2014-06-22 07:36Nico SchlömerNew Issue
2014-06-23 11:23Brad KingNote Added: 0036233
2014-06-23 11:23Brad KingNote Edited: 0036233bug_revision_view_page.php?bugnote_id=36233#r1503
2014-06-23 11:24Brad KingNote Edited: 0036233bug_revision_view_page.php?bugnote_id=36233#r1504
2014-06-23 11:42Nico SchlömerNote Added: 0036235
2014-06-23 12:43Brad KingStatusnew => resolved
2014-06-23 12:43Brad KingResolutionopen => unable to reproduce
2015-01-05 08:38Robert MaynardNote Added: 0037568
2015-01-05 08:38Robert MaynardStatusresolved => closed

Notes
(0036233)
Brad King   
2014-06-23 11:23   
(edited on: 2014-06-23 11:24)
I don't see any changes to FindBoost.cmake since 2.8.12 that could affect this. I cannot reproduce it on Linux:

$ cat ../CMakeLists.txt
cmake_minimum_required(VERSION 2.8.9)
project(Issue14985 CXX)
find_package(Boost COMPONENTS iostreams REQUIRED)

$ cmake --version
cmake version 3.0.0
...

$ cmake ..
...
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   iostreams
...


(0036235)
Nico Schlömer   
2014-06-23 11:42   
Hm, probably a random installation issue then. Feel free to close; I'll reopen if I can reproduce this on another machine.
(0037568)
Robert Maynard   
2015-01-05 08:38   
Closing resolved issues that have not been updated in more than 4 months.