diff options
author | Brad King <brad.king@kitware.com> | 2016-08-30 14:36:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-30 14:37:21 (GMT) |
commit | d6f96207c377e0492929592f9408a2fb3cafab93 (patch) | |
tree | 1f97c50541fefad0f9bf69eb2d17298487a2bc07 /Modules | |
parent | e3a4c2e02ceacd302e8bc6a7dc1bc02b29ab2cfc (diff) | |
download | CMake-d6f96207c377e0492929592f9408a2fb3cafab93.zip CMake-d6f96207c377e0492929592f9408a2fb3cafab93.tar.gz CMake-d6f96207c377e0492929592f9408a2fb3cafab93.tar.bz2 |
Fortran: Use -isysroot and -mmacosx-version-min= on macOS if available
Closes: #16265
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@") |