Skip to content

Commit

Permalink
vendor: Update vendored sources to igraph/igraph@833672f
Browse files Browse the repository at this point in the history
chore: restrict workaround to CMake 3.31.0 USE_TERMINAL bug to the single affected CMake version
  • Loading branch information
krlmlr committed Jan 5, 2025
1 parent 3f4c14d commit 3e067f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/vendor/cigraph/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Other

- Workaround for bug in CMake 3.31.0, see https://gitlab.kitware.com/cmake/cmake/-/issues/26449
- Documentation improvements.

## [0.10.15]
Expand Down
6 changes: 2 additions & 4 deletions src/vendor/cigraph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@
# * cmake -E cat (3.18)
cmake_minimum_required(VERSION 3.18...3.31)

# TODO:
# CMake 3.31.0 issues warnings due to the following bug:
# https://gitlab.kitware.com/cmake/cmake/-/issues/26449
# Setting policy CMP0175 to OLD avoids the warnings. Remove this or restrict to
# affected CMake versions when the bug is fixed.
if(POLICY CMP0175)
# Setting policy CMP0175 to OLD avoids the warnings.
if(CMAKE_VERSION VERSION_EQUAL "3.31.0")
cmake_policy(SET CMP0175 OLD)
endif()

Expand Down
4 changes: 2 additions & 2 deletions src/vendor/igraph_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@

__BEGIN_DECLS

#define IGRAPH_VERSION "0.10.15-17-g5e734a2c1"
#define IGRAPH_VERSION "0.10.15-18-g833672f02"
#define IGRAPH_VERSION_MAJOR 0
#define IGRAPH_VERSION_MINOR 10
#define IGRAPH_VERSION_PATCH 15
#define IGRAPH_VERSION_PRERELEASE "17-g5e734a2c1"
#define IGRAPH_VERSION_PRERELEASE "18-g833672f02"

IGRAPH_EXPORT void igraph_version(const char **version_string,
int *major,
Expand Down

0 comments on commit 3e067f7

Please sign in to comment.