Skip to content
Snippets Groups Projects
Commit d20b145a authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Call dune_finalize_project without arguments

... if dune-common is newer than 2.9

The current build system does not require this argument
anymore.
parent 575ce596
No related branches found
No related tags found
No related merge requests found
......@@ -25,4 +25,8 @@ add_subdirectory("cmake/modules")
add_subdirectory("test")
# finalize the dune project, e.g. generating config.h etc.
finalize_dune_project(GENERATE_CONFIG_H_CMAKE)
if(dune-common_VERSION VERSION_GREATER_EQUAL 2.10.0)
finalize_dune_project()
else()
finalize_dune_project(GENERATE_CONFIG_H_CMAKE)
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment