cmake: test reverse_graph instead of using version

It seems that some distros are using a patched Boost 1.62.0 which means our
workaround in reverse_graph has a conflict. Add a CMake test to see if we
need to use the patched reverse_graph.
This commit is contained in:
Matthew Barr
2017-01-18 15:16:18 +11:00
parent cacf07fe9b
commit 8c2e033540
4 changed files with 45 additions and 1 deletions

View File

@@ -89,3 +89,5 @@
/* define if this is a release build. */
#cmakedefine RELEASE_BUILD
/* define if reverse_graph requires patch for boost 1.62.0 */
#cmakedefine BOOST_REVGRAPH_PATCH