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)