From d6f96207c377e0492929592f9408a2fb3cafab93 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 30 Aug 2016 10:36:05 -0400 Subject: Fortran: Use -isysroot and -mmacosx-version-min= on macOS if available Closes: #16265 --- Modules/CMakeFortranCompiler.cmake.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/CMakeFortranCompiler.cmake.in b/Modules/CMakeFortranCompiler.cmake.in index 8e92f65..69800d7 100644 --- a/Modules/CMakeFortranCompiler.cmake.in +++ b/Modules/CMakeFortranCompiler.cmake.in @@ -55,6 +55,8 @@ if(CMAKE_Fortran_LIBRARY_ARCHITECTURE) endif() @CMAKE_Fortran_COMPILER_CUSTOM_CODE@ +@CMAKE_Fortran_SYSROOT_FLAG_CODE@ +@CMAKE_Fortran_OSX_DEPLOYMENT_TARGET_FLAG_CODE@ set(CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES "@CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES@") set(CMAKE_Fortran_IMPLICIT_LINK_DIRECTORIES "@CMAKE_Fortran_IMPLICIT_LINK_DIRECTORIES@") -- cgit v0.12