From 3310dbba51b697c4d37f874043595f1765503432 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 9 Jul 2022 22:05:53 -0500 Subject: [PATCH] [jsoncpp] Add MSVC check --- deps/ox/deps/jsoncpp/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deps/ox/deps/jsoncpp/CMakeLists.txt b/deps/ox/deps/jsoncpp/CMakeLists.txt index 8e2c7174..de7f3902 100644 --- a/deps/ox/deps/jsoncpp/CMakeLists.txt +++ b/deps/ox/deps/jsoncpp/CMakeLists.txt @@ -192,7 +192,9 @@ if(JSONCPP_WITH_TESTS) endif() # DrinkingTea - begin -set(CMAKE_CXX_FLAGS "-Wno-everything") +if(NOT MSVC) + set(CMAKE_CXX_FLAGS "-Wno-everything") +endif() # DrinkingTea - end # Build the different applications