From 68e7fdce20a0e3437769e3ae1309d7e5b0ed4945 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Mon, 6 Mar 2017 08:21:52 +0000 Subject: [PATCH] Added 4265 to specific warnings in VS --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db43d418..d76cf767 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()