Browse Source

Added link option no_warn_duplicate_libraries to silence macos specific warnings

merge-requests/428/merge
eidheim 4 months ago
parent
commit
0bb5052d52
  1. 1
      CMakeLists.txt

1
CMakeLists.txt

@ -40,6 +40,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options("-Wno-#warnings") add_compile_options("-Wno-#warnings")
add_compile_options(-Wthread-safety -Wno-deprecated -Wstring-conversion -Wliteral-conversion) add_compile_options(-Wthread-safety -Wno-deprecated -Wstring-conversion -Wliteral-conversion)
add_link_options(-Wl,-no_warn_duplicate_libraries)
endif() endif()
if(APPLE) if(APPLE)

Loading…
Cancel
Save