Merge topic 'osx-gnu-fortran-deployment'

4fc3367f OS X: Detect deployment target flags from GNU Fortran compilers
This commit is contained in:
Brad King 2014-10-28 10:26:04 -04:00 committed by CMake Topic Stage
commit 9eb385edd9
1 changed files with 2 additions and 0 deletions

View File

@ -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 ")