mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 11:16:29 +03:00
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:
@@ -5,7 +5,7 @@
|
||||
|
||||
#include <boost/graph/reverse_graph.hpp>
|
||||
|
||||
#if (BOOST_VERSION == 106200)
|
||||
#if defined(BOOST_REVGRAPH_PATCH)
|
||||
|
||||
// Boost 1.62.0 does not implement degree() in reverse_graph which is required
|
||||
// by BidirectionalGraph, so add it.
|
||||
|
Reference in New Issue
Block a user