diff --git a/deps/imgui/CMakeLists.txt b/deps/imgui/CMakeLists.txt index 91ccac96..c18ca475 100644 --- a/deps/imgui/CMakeLists.txt +++ b/deps/imgui/CMakeLists.txt @@ -1,5 +1,9 @@ -set(CMAKE_CXX_FLAGS "-Wno-everything") +# DrinkingTea: begin +if(NOT MSVC) + set(CMAKE_CXX_FLAGS "-Wno-everything") +endif() +# DrinkingTea: end add_library( imgui OBJECT