Browse Source

json11: Suppress warnings about unqualified std::move calls

Vendored dependency cannot be updated.
PatTheMav 2 years ago
parent
commit
1c8e046256
1 changed files with 1 additions and 0 deletions
  1. 1 0
      deps/json11/CMakeLists.txt

+ 1 - 0
deps/json11/CMakeLists.txt

@@ -4,5 +4,6 @@ add_library(json11 INTERFACE)
 add_library(OBS::json11 ALIAS json11)
 
 target_include_directories(json11 INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")
+target_compile_options(json11 INTERFACE $<$<COMPILE_LANG_AND_ID:CXX,AppleClang,Clang>:-Wno-unqualified-std-cast-call>)
 
 target_sources(json11 INTERFACE json11.cpp json11.hpp)