diff --git a/CMakeLists.txt b/CMakeLists.txt
index b2882f768abe0de5609ad47175cdb63831b29a68..b7262e8c6a833ebb0d963a374bdb9a863786387d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,4 +26,4 @@ dune_enable_all_packages()
 add_subdirectory(exercises)
 
 # finalize the dune project, e.g. generating config.h etc.
-finalize_dune_project(GENERATE_CONFIG_H_CMAKE)
+finalize_dune_project()