summaryrefslogtreecommitdiffstats
path: root/Tests/Tutorial
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-11 14:40:18 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-16 14:37:48 (GMT)
commit2d36c9ab60f9d1fa5304ebf23b09fa79ff8b667e (patch)
treef61fb7220b8023d02bbd950fc758d92fb17e0fc5 /Tests/Tutorial
parenta6fd17ce50b18dd9d06cdd7fdb34bf68e987f7fc (diff)
downloadCMake-2d36c9ab60f9d1fa5304ebf23b09fa79ff8b667e.zip
CMake-2d36c9ab60f9d1fa5304ebf23b09fa79ff8b667e.tar.gz
CMake-2d36c9ab60f9d1fa5304ebf23b09fa79ff8b667e.tar.bz2
CMakeDetermineCompilerId: Fix Intel Fortran compiler id detection
The Intel Fortran compiler needs the /fpp option to enable C preprocessing. Without the option the compiler may warn and ignore preprocessor lines instead of failing with an error. Detect the warning and treat it as failure so that we move on to try /fpp and detect the correct id. Without this it works only by luck because Intel is the first compiler id in our detection source file.
Diffstat (limited to 'Tests/Tutorial')
0 files changed, 0 insertions, 0 deletions