Suppress warning in Flatbuffer VS2010 builds.

Change-Id: I4f66a96ba581704c1a384cc700b8fb731d3eeed4
parent 86992476
...@@ -145,7 +145,8 @@ elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang") ...@@ -145,7 +145,8 @@ elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
elseif(MSVC) elseif(MSVC)
# Visual Studio pedantic build settings # Visual Studio pedantic build settings
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4 /WX") # warning C4512: assignment operator could not be generated
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4 /WX /wd4512")
endif() endif()
if(FLATBUFFERS_CODE_COVERAGE) if(FLATBUFFERS_CODE_COVERAGE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment