cmake/Modules/Platform/Linker/Windows-CXX.cmake
2024-11-11 15:18:55 +01:00

16 lines
419 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_CXX_SIMULATE_ID STREQUAL "MSVC")
# MSVC is the default linker
include(Platform/Linker/Windows-MSVC-CXX)
else()
# GNU is the default linker
include(Platform/Linker/Windows-GNU-CXX)
endif()
endblock()