Boost timer config problem on some platforms
Bug #1086116 reported by
Garth Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Fix Released
|
Low
|
Johannes Ring |
Bug Description
The lines
# Boost timer was not a separate Boost component until version 1.48
if ("${Boost_
find_
endif()
in CMakeLists.txt cause a problem on some systems (Scientific Linux 6 + cmake 2.8.10.1). Calling find_package twice overwrites the Boost variables that were set when find_package(Boost) wad called before the above lines. This causes build failure.
To keep it simple, can we just require Boost > 1.47?
Related branches
Changed in dolfin: | |
status: | New → Fix Committed |
assignee: | nobody → Johannes Ring (johannr) |
milestone: | none → 1.1.0 |
importance: | Undecided → Low |
Changed in dolfin: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
If possible, I would like to keep support for older Boost versions for some more time. How about we instead do something like in the attached patch?