From 4fc3367fcdfb9156ddda253b3af213b0cd585035 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 24 Oct 2014 14:13:11 -0400 Subject: [PATCH] OS X: Detect deployment target flags from GNU Fortran compilers Reported-by: Bill Somerville --- Modules/Platform/Darwin-GNU-Fortran.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/Platform/Darwin-GNU-Fortran.cmake b/Modules/Platform/Darwin-GNU-Fortran.cmake index f4b509a13..6724f9bc1 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 ")