Added 4265 to specific warnings in VS

This commit is contained in:
Phil Nash 2017-03-06 08:21:52 +00:00
parent b4c9bf5802
commit 68e7fdce20
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ if ( CMAKE_CXX_COMPILER_ID MATCHES "Clang|AppleClang|GNU" )
target_compile_options( Benchmark PRIVATE -Wall -Wextra )
endif()
if ( CMAKE_CXX_COMPILER_ID MATCHES "MSVC" )
target_compile_options( SelfTest PRIVATE /W4 )
target_compile_options( SelfTest PRIVATE /W44265 )
target_compile_options( Benchmark PRIVATE /W4 )
endif()