From d92687c4f150f2cdee48f21ff34bd0f6a884ee0b Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Thu, 14 Mar 2024 20:15:50 +0000 Subject: [PATCH] windows Signed-off-by: Ian Chen --- graphics/src/MeshManager.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/graphics/src/MeshManager.cc b/graphics/src/MeshManager.cc index c1673819..c35c5dae 100644 --- a/graphics/src/MeshManager.cc +++ b/graphics/src/MeshManager.cc @@ -26,13 +26,17 @@ #include // Suppress warnings for VHACD +#ifndef _WIN32 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wfloat-equal" #pragma GCC diagnostic ignored "-Wswitch-default" #pragma GCC diagnostic ignored "-Wunused-parameter" +#endif #define ENABLE_VHACD_IMPLEMENTATION 1 #include "VHACD/VHACD.h" +#ifndef _WIN32 #pragma GCC diagnostic pop +#endif #ifndef _WIN32 #include "gz/common/GTSMeshUtils.hh"