From 2a25bb173b6d775534c3d8f3e8e6a6fb7cbdfdf3 Mon Sep 17 00:00:00 2001 From: Patrick Simmons Date: Tue, 29 Jul 2025 13:02:05 -0500 Subject: [PATCH] Fix build with LLD 20 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 593c8bc036..1044319d46 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,6 +32,8 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") add_compile_options(/MTd) add_compile_options(-D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH) endif() +else() + add_link_options("-Wl,--undefined-version") endif() if (AMD_COMPUTE_WIN)