mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
0445190d2f
Due to a bug on LLD linker for ELF binaries, deduplication should occur only if CMP0156 and CMP0179 are NEW. Fixes: #26447
12 lines
392 B
CMake
12 lines
392 B
CMake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
|
|
|
|
|
# This module is shared by multiple languages; use include blocker.
|
|
include_guard()
|
|
|
|
macro(__aix_linker_aix lang)
|
|
set(CMAKE_${lang}_PLATFORM_LINKER_ID AIX)
|
|
set(CMAKE_${lang}_LINK_LIBRARIES_PROCESSING ORDER=REVERSE DEDUPLICATION=ALL)
|
|
endmacro()
|