summaryrefslogtreecommitdiff
path: root/Modules/Platform/Darwin-GNU-Fortran.cmake
blob: 568d79b0c20112b89ca010f4e42363efde360d1b (plain)
1
2
3
4
5
6
7
8
9
10
# Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.

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