Skip to content

Commit

Permalink
bring back 4251 suppression just for rendering_sources
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina committed Nov 17, 2020
1 parent 9a981ba commit ac31126
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ set (gtest_sources
Sensor_TEST.cc
)

if (MSVC)
# TODO(louise) Remove this once warnings are suppressed in ign-rendering
set_source_files_properties(
${rendering_sources}
COMPILE_FLAGS "/wd4251"
)
endif()

# Create the library target.
ign_create_core_library(SOURCES ${sources} CXX_STANDARD 14)

Expand Down

0 comments on commit ac31126

Please sign in to comment.