summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-10-24 18:13:11 (GMT)
committerBrad King <brad.king@kitware.com>2014-10-27 12:40:55 (GMT)
commit4fc3367fcdfb9156ddda253b3af213b0cd585035 (patch)
tree8a74be20b00966745f30dd64175380ec355c93b6 /Modules
parentfbc2a384d8d137f2332d0f8de7a23edfac84a361 (diff)
downloadCMake-4fc3367fcdfb9156ddda253b3af213b0cd585035.zip
CMake-4fc3367fcdfb9156ddda253b3af213b0cd585035.tar.gz
CMake-4fc3367fcdfb9156ddda253b3af213b0cd585035.tar.bz2
OS X: Detect deployment target flags from GNU Fortran compilers
Reported-by: Bill Somerville <bill@classdesign.com>
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Darwin-GNU-Fortran.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin-GNU-Fortran.cmake b/Modules/Platform/Darwin-GNU-Fortran.cmake
index f4b509a..6724f9b 100644
--- a/Modules/Platform/Darwin-GNU-Fortran.cmake
+++ b/Modules/Platform/Darwin-GNU-Fortran.cmake
@@ -14,6 +14,8 @@
include(Platform/Darwin-GNU)
__darwin_compiler_gnu(Fortran)
+cmake_gnu_set_sysroot_flag(Fortran)
+cmake_gnu_set_osx_deployment_target_flag(Fortran)
set(CMAKE_Fortran_OSX_COMPATIBILITY_VERSION_FLAG "-compatibility_version ")
set(CMAKE_Fortran_OSX_CURRENT_VERSION_FLAG "-current_version ")