diff options
author | Brad King <brad.king@kitware.com> | 2016-08-31 13:19:40 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-08-31 13:19:40 (GMT) |
commit | 7a25220776202998904d979ebf64c008fc4c4d24 (patch) | |
tree | 8be2854d036ce34b2b023e81d393485921d97764 /Modules | |
parent | 0820c7850805e7c41fd54292fa4ebd13b28b51fa (diff) | |
parent | d6f96207c377e0492929592f9408a2fb3cafab93 (diff) | |
download | CMake-7a25220776202998904d979ebf64c008fc4c4d24.zip CMake-7a25220776202998904d979ebf64c008fc4c4d24.tar.gz CMake-7a25220776202998904d979ebf64c008fc4c4d24.tar.bz2 |
Merge topic 'fortran-macOS-sysroot'
d6f96207 Fortran: Use -isysroot and -mmacosx-version-min= on macOS if available
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeFortranCompiler.cmake.in | 2 |
1 files changed, 2 insertions, 0 deletions
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@") |