diff --git a/cmake/modules/DumuxTestMacros.cmake b/cmake/modules/DumuxTestMacros.cmake
index 2f19c9cf40ba0f7dce6dbf8b7ec273a0ebfdb01a..2d9ab4d8a4cb3dc23999267c90f165d3ef7870f4 100644
--- a/cmake/modules/DumuxTestMacros.cmake
+++ b/cmake/modules/DumuxTestMacros.cmake
@@ -57,6 +57,6 @@ macro(add_dumux_test dumux_test dumux_test_executable dumux_test_executable_sour
                   COMMAND ${dumux_test_args}
                   SKIP_ON_77)
     # tests always require the executable to run
-    set_tests_properties(${dumux_test} PROPERTIES REQUIRED_FILES ${dumux_test})
+    set_tests_properties(${dumux_test} PROPERTIES REQUIRED_FILES ${dumux_test_executable})
   endif()
 endmacro()