Temporarily disabled VS2010 warning 4512.

Change-Id: Ib75b4cc651ac8f67cd262c8293fca1ac590f6b71
parent a6d98fb0
......@@ -138,6 +138,9 @@ elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
set(CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -fsigned-char")
elseif(MSVC)
# warning C4512: assignment operator could not be generated
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4512")
endif()
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