diff --git a/deps/json11/CMakeLists.txt b/deps/json11/CMakeLists.txt index 510630f4f..78cb7c94a 100644 --- a/deps/json11/CMakeLists.txt +++ b/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 $<$:-Wno-unqualified-std-cast-call>) target_sources(json11 INTERFACE json11.cpp json11.hpp)