summaryrefslogtreecommitdiffstats
path: root/Modules/Internal/CMakeOBJCLinkerInformation.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-11-13 14:17:05 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-11-13 14:17:24 (GMT)
commit10f24d1d9264ae81567ab8620950b924e46245ee (patch)
treed67fa8582d3411aae37ab97c4643c88d3c9ccd86 /Modules/Internal/CMakeOBJCLinkerInformation.cmake
parent7c999c19af18566a11dae841111a241b86014a64 (diff)
parentd2997ab6014264167d485512c5a97470d8e2dbcb (diff)
downloadCMake-10f24d1d9264ae81567ab8620950b924e46245ee.zip
CMake-10f24d1d9264ae81567ab8620950b924e46245ee.tar.gz
CMake-10f24d1d9264ae81567ab8620950b924e46245ee.tar.bz2
Merge topic 'WHOLE_ARCHIVE-various-systems' into release-3.31
d2997ab601 Linker configuration: Add missing platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9992
Diffstat (limited to 'Modules/Internal/CMakeOBJCLinkerInformation.cmake')
-rw-r--r--Modules/Internal/CMakeOBJCLinkerInformation.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Internal/CMakeOBJCLinkerInformation.cmake b/Modules/Internal/CMakeOBJCLinkerInformation.cmake
index ea92880..a26fa42 100644
--- a/Modules/Internal/CMakeOBJCLinkerInformation.cmake
+++ b/Modules/Internal/CMakeOBJCLinkerInformation.cmake
@@ -31,7 +31,7 @@ endif()
# We specify the platform linker information in the system file.
if (NOT _INCLUDED_FILE)
- include(Platform/Linker/${CMAKE_SYSTEM_NAME}-OBJC OPTIONAL)
+ include(Platform/Linker/${CMAKE_EFFECTIVE_SYSTEM_NAME}-OBJC OPTIONAL)
endif ()
_cmake_common_linker_platform_flags(OBJC)