(CMake Error in CMakeLists.txt:
  The target named "nocxx" has C\+\+ sources that use modules, but the "CXX"
  language has not been enabled\.
|CMake Error in CMakeLists.txt:
  The target named "nocxx" has C\+\+ sources that may use modules, but modules
  are not supported by this generator:

    [^
]+

  Modules are supported only by Ninja, Ninja Multi-Config, and Visual Studio
  generators for VS 17\.4 and newer\.  See the cmake-cxxmodules\(7\) manual for
  details\.  Use the CMAKE_CXX_SCAN_FOR_MODULES variable to enable or disable
  scanning\.
|CMake Error in CMakeLists.txt:
  Target "nocxx" has source file

    [^
]*/Tests/RunCMake/CXXModules/sources/module.cxx

  in a "FILE_SET TYPE CXX_MODULES" but it is not scheduled for compilation.
)