diff --git a/tests/core/CMakeLists.txt b/tests/core/CMakeLists.txt
index 8d3f0298ac3bf387dfb19d18b46bfaff8caa6912..240fe56dc9195983d88f4930e7e4bcb049f009e5 100644
--- a/tests/core/CMakeLists.txt
+++ b/tests/core/CMakeLists.txt
@@ -172,9 +172,6 @@ waLBerla_compile_test( FILES DebugSTLTest.cpp )
 waLBerla_execute_test( NAME DebugSTLTest )
 set_tests_properties(DebugSTLTest PROPERTIES WILL_FAIL TRUE)
 
-waLBerla_compile_test( FILES FP16Test.cpp )
-waLBerla_execute_test( NAME FP16Test )
-
 waLBerla_compile_test( FILES FunctionTraitsTest.cpp )
 waLBerla_execute_test( NAME FunctionTraitsTest )
 
@@ -235,4 +232,7 @@ if ( WALBERLA_BUILD_WITH_HALF_PRECISION_SUPPORT )
    # Which features are actually supported depend on the compiler
    target_compile_features( Float16SupportTest PUBLIC cxx_std_23 )
    waLBerla_execute_test(NAME Float16SupportTest)
+
+   waLBerla_compile_test( FILES FP16Test.cpp )
+   waLBerla_execute_test( NAME FP16Test )
 endif ()
\ No newline at end of file