From 6fea473414fa31ba9e6564421fa4639c49173d80 Mon Sep 17 00:00:00 2001 From: philsquared Date: Mon, 6 Mar 2017 08:35:14 +0000 Subject: [PATCH] Fixed CMake generation of MSVC warning levels --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d76cf76..58545dc 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 /W44265 ) + target_compile_options( SelfTest PRIVATE /W4 /w44265 ) target_compile_options( Benchmark PRIVATE /W4 ) endif()