From 0bb5052d5229068a194da36dabd41f9b960ca29f Mon Sep 17 00:00:00 2001 From: eidheim Date: Mon, 30 Mar 2026 18:19:31 +0200 Subject: [PATCH] Added link option no_warn_duplicate_libraries to silence macos specific warnings --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 56ae6fe..bb4a4d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_options("-Wno-#warnings") add_compile_options(-Wthread-safety -Wno-deprecated -Wstring-conversion -Wliteral-conversion) + add_link_options(-Wl,-no_warn_duplicate_libraries) endif() if(APPLE)