cmake/Modules/Platform/Linker/FreeBSD-C.cmake

16 lines
402 B
CMake
Raw Normal View History

2024-11-11 15:18:55 +01:00
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
include(Platform/Linker/BSD-Linker-Initialize)
block(SCOPE_FOR POLICIES)
cmake_policy(SET CMP0054 NEW)
if(_CMAKE_SYSTEM_LINKER_TYPE STREQUAL "GNU")
include(Platform/Linker/FreeBSD-GNU-C)
else()
include(Platform/Linker/FreeBSD-LLD-C)
endif()
endblock()