diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06431f8290177eb77390447df8da1ba5ef165746..a29f72f9be56f3aef7bbc75644062bb340c37aa2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,12 +1,10 @@
 # SPDX-FileCopyrightInfo: Copyright © DuMux-Lecture contributors, see AUTHORS.md in root folder
 # SPDX-License-Identifier: GPL-3.0-or-later
 
-#set up project
-project("dumux-lecture" C CXX)
-
-# general stuff
 cmake_minimum_required(VERSION 3.16)
 
+project("dumux-lecture" C CXX)
+
 if(NOT (dune-common_DIR
         OR dune-common_ROOT
         OR "${CMAKE_PREFIX_PATH}" MATCHES ".*dune-common.*"))