• Keith Ballard's avatar
    FindMPI: Improve error when a component's language is not enabled · e221039e
    Keith Ballard authored
    Previously, if a CMake project requests a component for a language that is
    not enabled, it would simply give an error with the message
    
        Could NOT find MPI (missing: MPI_${LANG}_FOUND)
    
    which is not indicative that the language was not enabled.  This change
    provides an error message indicating that it failed to find the
    particular MPI component because no compiler was available for the
    language and the language might need to be enabled for the project.
    
    Closes: #19996
    e221039e
Name
Last commit
Last update
.github Loading commit data...
Auxiliary Loading commit data...
Help Loading commit data...
Licenses Loading commit data...
Modules Loading commit data...
Packaging Loading commit data...
Source Loading commit data...
Templates Loading commit data...
Tests Loading commit data...
Utilities Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.hooks-config Loading commit data...
CMakeCPack.cmake Loading commit data...
CMakeCPackOptions.cmake.in Loading commit data...
CMakeGraphVizOptions.cmake Loading commit data...
CMakeLists.txt Loading commit data...
CMakeLogo.gif Loading commit data...
CONTRIBUTING.rst Loading commit data...
CTestConfig.cmake Loading commit data...
CTestCustom.cmake.in Loading commit data...
CompileFlags.cmake Loading commit data...
Copyright.txt Loading commit data...
DartConfig.cmake Loading commit data...
README.rst Loading commit data...
bootstrap Loading commit data...
cmake_uninstall.cmake.in Loading commit data...
configure Loading commit data...
doxygen.config Loading commit data...