Skip to content

Commit

Permalink
windows
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed Mar 14, 2024
1 parent f159f9d commit d92687c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions graphics/src/MeshManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,17 @@
#include <vector>

// 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"
Expand Down

0 comments on commit d92687c

Please sign in to comment.