diff --git a/root/meta/naming/CMakeLists.txt b/root/meta/naming/CMakeLists.txt index 9f847b5998..5f68483409 100644 --- a/root/meta/naming/CMakeLists.txt +++ b/root/meta/naming/CMakeLists.txt @@ -1 +1,5 @@ -ROOTTEST_ADD_AUTOMACROS(DEPENDS namingMatches.cxx) +# The test assumes we have _rdict.pcm files which we do not generate for runtime +# cxxmodules. +if (NOT ROOT_runtime_cxxmodules_FOUND) + ROOTTEST_ADD_AUTOMACROS(DEPENDS namingMatches.cxx) +endif()