Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Suppress C4996 due to arrow/util/variant.h
Browse files Browse the repository at this point in the history
  • Loading branch information
wesm authored and cpcloud committed Nov 19, 2017
1 parent e4b02d3 commit 63018bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,11 @@ if ("${COMPILER_FAMILY}" STREQUAL "clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CLANG_OPTIONS}")
endif()

if ("${COMPILER_FAMILY}" STREQUAL "msvc")
# MSVC version of -Wno-deprecated
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4996")
endif()

############################################################
# "make lint" target
############################################################
Expand Down

0 comments on commit 63018bc

Please sign in to comment.