summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Apple-Intel-Fortran.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Apple-Intel-Fortran.cmake')
-rw-r--r--Modules/Platform/Apple-Intel-Fortran.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/Platform/Apple-Intel-Fortran.cmake b/Modules/Platform/Apple-Intel-Fortran.cmake
new file mode 100644
index 0000000..e54e237
--- /dev/null
+++ b/Modules/Platform/Apple-Intel-Fortran.cmake
@@ -0,0 +1,8 @@
+# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+# file Copyright.txt or https://cmake.org/licensing for details.
+
+include(Platform/Apple-Intel)
+__apple_compiler_intel(Fortran)
+
+set(CMAKE_Fortran_OSX_COMPATIBILITY_VERSION_FLAG "-compatibility_version ")
+set(CMAKE_Fortran_OSX_CURRENT_VERSION_FLAG "-current_version ")