summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-10-28 14:26:04 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-10-28 14:26:04 (GMT)
commit9eb385edd9df75ff9b545a375ac1104ce3ad22a1 (patch)
tree0d2d60135a6a7112daad54d5d7899c3c4904d537 /Modules
parent78c0f514be69ee761d2b64943d3df37754843be7 (diff)
parent4fc3367fcdfb9156ddda253b3af213b0cd585035 (diff)
downloadCMake-9eb385edd9df75ff9b545a375ac1104ce3ad22a1.zip
CMake-9eb385edd9df75ff9b545a375ac1104ce3ad22a1.tar.gz
CMake-9eb385edd9df75ff9b545a375ac1104ce3ad22a1.tar.bz2
Merge topic 'osx-gnu-fortran-deployment'
4fc3367f OS X: Detect deployment target flags from GNU Fortran compilers
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 ")