deps: Suppress acknowledged compile-time warnings for json11

This commit is contained in:
PatTheMav
2024-04-13 23:48:38 -04:00
committed by Ryan Foster
parent 2bc4c69ee9
commit 4d6e17c547
+2 -1
View File
@@ -10,7 +10,8 @@ target_sources(
target_include_directories(json11 PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
if(CMAKE_CXX_COMPILER_ID MATCHES "(AppleClang|Clang)" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 14)
if((CMAKE_CXX_COMPILER_ID STREQUAL AppleClang AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 14)
OR (CMAKE_CXX_COMPILER_ID STREQUAL Clang AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 15))
target_compile_options(json11 PUBLIC -Wno-unqualified-std-cast-call)
endif()