Skip to content

CMake/FindMPI: Drop unnecessary and incorrect use of GetPrerequisites

Brad King requested to merge brad.king/vtk:FindMPI-drop-GetPrerequisites into master

The call to the GetPrerequisites is_file_executable function passes 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.

Merge request reports