Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify igraph < 0.10.0 #45

Merged
merged 1 commit into from
Jan 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ 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
#
# Older versions of cmake don't support the `<` operator here; only `<=`.
pkg_check_modules(IGRAPH REQUIRED igraph<=0.9.9999)

pkg_check_modules(GLIB REQUIRED glib-2.0)

## Parse out igraph version. Needed to work around breaking API changes in igraph.
Expand Down