diff options
author | Brad King <brad.king@kitware.com> | 2014-02-11 14:49:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-02-11 15:04:26 (GMT) |
commit | 3693c63f2e42e14f319ffcd2046ecf8607f1a079 (patch) | |
tree | 9e2d78d2fca1f805e4f7ed615f50fb5f2ad457e1 /Modules/Platform/Darwin-Intel-Fortran.cmake | |
parent | 418a155be7e44117297c072b6aa0f21f4407c052 (diff) | |
download | CMake-3693c63f2e42e14f319ffcd2046ecf8607f1a079.zip CMake-3693c63f2e42e14f319ffcd2046ecf8607f1a079.tar.gz CMake-3693c63f2e42e14f319ffcd2046ecf8607f1a079.tar.bz2 |
OS X: Split Intel compiler information files
Create platform information modules Platform/Darwin-Intel-(C|CXX).cmake
and helper module Platform/Darwin-Intel.cmake. Teach existing module
Platform/Darwin-Intel-Fortran.cmake to use the helper too. Move
information from Platform/Darwin-icc.cmake into these files and drop
information already in Platform/Darwin.cmake to avoid duplication.
Diffstat (limited to 'Modules/Platform/Darwin-Intel-Fortran.cmake')
-rw-r--r-- | Modules/Platform/Darwin-Intel-Fortran.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin-Intel-Fortran.cmake b/Modules/Platform/Darwin-Intel-Fortran.cmake index 6bd45f1..a604bb6 100644 --- a/Modules/Platform/Darwin-Intel-Fortran.cmake +++ b/Modules/Platform/Darwin-Intel-Fortran.cmake @@ -11,5 +11,8 @@ # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) +include(Platform/Darwin-Intel) +__darwin_compiler_intel(Fortran) + set(CMAKE_Fortran_OSX_COMPATIBILITY_VERSION_FLAG "-compatibility_version ") set(CMAKE_Fortran_OSX_CURRENT_VERSION_FLAG "-current_version ") |