Skip to content
Discussion options

You must be logged in to vote

I was finally able to figure it out.

I had to build lemon-graph from source, and modify its CMakeLists.txtlines 1-3 to:

CMAKE_MINIMUM_REQUIRED(VERSION 3.5..3.29)

CMAKE_POLICY(SET CMP0148 OLD)

It seems to me that based on this error printed with the unmodified CMakeLists.txt:

CMake Error at CMakeLists.txt:3 (CMAKE_POLICY):
  Policy CMP0048 may not be set to OLD behavior because this version of CMake
  no longer supports it.  The policy was introduced in CMake version 3.0.0,
  and use of NEW behavior is now required.

  Please either update your CMakeLists.txt files to conform to the new
  behavior or use an older version of CMake that still supports the old
  behavior.  Run cmake --help-…

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gipalob
Comment options

Comment options

You must be logged in to vote
2 replies
@gipalob
Comment options

Answer selected by gipalob
@stefanottili
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants