summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Darwin-Intel-Fortran.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-11 14:49:02 (GMT)
committerBrad King <brad.king@kitware.com>2014-02-11 15:04:26 (GMT)
commit3693c63f2e42e14f319ffcd2046ecf8607f1a079 (patch)
tree9e2d78d2fca1f805e4f7ed615f50fb5f2ad457e1 /Modules/Platform/Darwin-Intel-Fortran.cmake
parent418a155be7e44117297c072b6aa0f21f4407c052 (diff)
downloadCMake-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.cmake3
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 ")