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

@@ -84,6 +84,7 @@ if(NOT Boost_FOUND)
endif()
endif()
include (${CMAKE_MODULE_PATH}/boost.cmake)
# -- make this work? set(python_ADDITIONAL_VERSIONS 2.7 2.6)
find_package(PythonInterp)