/Wx -> /WX (stupid typo)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fe167dc..67f4058 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -253,7 +253,7 @@
     target_compile_options( Benchmark PRIVATE -Wall -Wextra )
 endif()
 if ( CMAKE_CXX_COMPILER_ID MATCHES "MSVC" )
-    target_compile_options( SelfTest PRIVATE /W4 /w44265 /Wx )
+    target_compile_options( SelfTest PRIVATE /W4 /w44265 /WX )
     target_compile_options( Benchmark PRIVATE /W4 )
 endif()