summaryrefslogtreecommitdiffstats
path: root/Modules/GetPrerequisites.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-31 13:42:25 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-31 13:50:31 (GMT)
commit1c46b6aed0db88c97189713f291164f98df780a9 (patch)
treea2aea506df418b8b1a21ce812e7c485c7708855f /Modules/GetPrerequisites.cmake
parenta8c3698526cfa11c61d9dfd8c0f9fa8d2c7ff10a (diff)
downloadCMake-1c46b6aed0db88c97189713f291164f98df780a9.zip
CMake-1c46b6aed0db88c97189713f291164f98df780a9.tar.gz
CMake-1c46b6aed0db88c97189713f291164f98df780a9.tar.bz2
FindMPI: Drop unnecessary and incorrect use of GetPrerequisites
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.
Diffstat (limited to 'Modules/GetPrerequisites.cmake')
0 files changed, 0 insertions, 0 deletions