diff --git a/CMakeLists.txt b/CMakeLists.txt index 773b623..c61a1e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,10 @@ include(FindPkgConfig) find_package(RT REQUIRED) find_package(M REQUIRED) -pkg_check_modules(IGRAPH REQUIRED igraph) +# We don't yet support igraph 0.10.0+, which has some API changes. +# See https://github.com/shadow/tgen/issues/44 +pkg_check_modules(IGRAPH REQUIRED igraph<0.10.0) + pkg_check_modules(GLIB REQUIRED glib-2.0) ## Parse out igraph version. Needed to work around breaking API changes in igraph.