diff options
author | Brad King <brad.king@kitware.com> | 2013-10-11 14:40:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-16 14:37:48 (GMT) |
commit | 2d36c9ab60f9d1fa5304ebf23b09fa79ff8b667e (patch) | |
tree | f61fb7220b8023d02bbd950fc758d92fb17e0fc5 /Tests/Tutorial | |
parent | a6fd17ce50b18dd9d06cdd7fdb34bf68e987f7fc (diff) | |
download | CMake-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