summaryrefslogtreecommitdiffstats
path: root/Tests/TryCompile
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-09 20:39:47 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-09 20:39:47 (GMT)
commit4debb7ac69928ca02700c77bed69be152714e109 (patch)
tree8ab669b4a1001655b5ae3b0bcba7832040b51c3b /Tests/TryCompile
parent4678c619ce1341968a75d989a4086962935ac2c6 (diff)
downloadCMake-4debb7ac69928ca02700c77bed69be152714e109.zip
CMake-4debb7ac69928ca02700c77bed69be152714e109.tar.gz
CMake-4debb7ac69928ca02700c77bed69be152714e109.tar.bz2
Bias Fortran compiler search with C/C++ compilers
When CMAKE_Fortran_COMPILER and ENV{FC} are not defined CMake searches for an available Fortran compiler. This commit teaches the search code to look for compiler executables next to the C and C++ compilers if they are already found. Furthermore, we bias the compiler executable name preference order based on the vendor of the C and C++ compilers, which increases the chance of finding a compatible compiler by default.
Diffstat (limited to 'Tests/TryCompile')
0 files changed, 0 insertions, 0 deletions