diff --git a/CMakeLists.txt b/CMakeLists.txt
index ffc8312192fcfb1a3b1b4017b76b15efb46dad47..f16bc6446283535c7b5b4ec135f274e801785961 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ project(lib4neuro)
 
 #TODO rewrite to use add_compile_definitions
 if(WIN32)
-    add_compile_options("-DBOOST_ALL_NO_LIB /W4")
+    add_compile_options("-DBOOST_ALL_NO_LIB /W0")
 else()
 	add_compile_options("-DBOOST_TEST_DYN_LINK")
 endif()