mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
A new set of files are dedicated to linker configuration. This set of files enable a fine-tuned configuration based of the linker type as identified during compiler detection. Fixes: #25360
16 lines
431 B
CMake
16 lines
431 B
CMake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
|
|
|
block(SCOPE_FOR POLICIES)
|
|
cmake_policy(SET CMP0054 NEW)
|
|
|
|
if(CMAKE_Fortran_SIMULATE_ID STREQUAL "MSVC")
|
|
# MSVC is the default linker
|
|
include(Platform/Linker/Windows-MSVC-Fortran)
|
|
else()
|
|
# GNU is the default linker
|
|
include(Platform/Linker/Windows-GNU-Fortran)
|
|
endif()
|
|
|
|
endblock()
|