From 1c8e046256977436887f9ee8232d208693cd98ad Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Mon, 28 Aug 2023 15:02:16 +0200 Subject: [PATCH] json11: Suppress warnings about unqualified std::move calls Vendored dependency cannot be updated. --- deps/json11/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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)