• Brad King's avatar
    FindMPI: Drop unnecessary and incorrect use of GetPrerequisites · 1c46b6ae
    Brad King authored
    Since commit v2.8.5~121^2~2 (FindMPI: Handle multiple languages,
    2010-12-29) we called the GetPrerequisites is_file_executable function
    but passed the name of a CMake variable instead of its value.  Therefore
    the function has always failed and caused the search for the compiler
    name to run even with an absolute path.  Switch to using if(IS_ABSOLUTE)
    instead and drop use of GetPrerequisites.
    1c46b6ae
FindMPI.cmake 29.5 KB