mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-05 04:03:22 +03:00
OS X: Detect deployment target flags from GNU Fortran compilers
Reported-by: Bill Somerville <bill@classdesign.com>
This commit is contained in:
1 parent
fbc2a384d8
commit
4fc3367fcd
1 file changed
+2
@@ -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 ")
|
||||
Reference in new issue
Block a user