diff --git a/test/freeflow/shallowwater/dambreak/CMakeLists.txt b/test/freeflow/shallowwater/dambreak/CMakeLists.txt
index c86e8431aeea3ef54146e9185419a43df4969f5a..39da8ae70f463740d0082cbf2d576844726b3cb6 100644
--- a/test/freeflow/shallowwater/dambreak/CMakeLists.txt
+++ b/test/freeflow/shallowwater/dambreak/CMakeLists.txt
@@ -2,5 +2,4 @@ dune_symlink_to_source_files(FILES "params.input" references)
 
 dune_add_test(NAME test_shallowwater
               SOURCES main.cc
-              COMPILE_DEFINITIONS TYPETAG=DamBreakWet
               COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test_shallowwater)
diff --git a/test/freeflow/shallowwater/dambreak/main.cc b/test/freeflow/shallowwater/dambreak/main.cc
index e57da5010fc5cafb62c3d78525c2f3f150265d87..85efd434ee5f667080dc24f04c3443f296848440 100644
--- a/test/freeflow/shallowwater/dambreak/main.cc
+++ b/test/freeflow/shallowwater/dambreak/main.cc
@@ -82,7 +82,7 @@ int main(int argc, char** argv) try
     using namespace Dumux;
 
     // define the type tag for this problem
-    using TypeTag = Properties::TTag::TYPETAG;
+    using TypeTag = Properties::TTag::DamBreakWet;
 
     // initialize MPI, finalize is done automatically on exit
     const auto& mpiHelper = Dune::MPIHelper::instance(argc, argv);