summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2016-03-28 14:58:31 +0300
committerJukka Jylänki <jujjyl@gmail.com>2016-03-28 14:58:31 +0300
commit696c76cc5abf7dec13f437e38027a3a2e70e341c (patch)
tree2f5417b828deb1e99d0fa7ce1f817d00f9646dd4
parentcb4322e8504cce394383e0a5ebcf37c2a4d5cc18 (diff)
downloadbinaryen-696c76cc5abf7dec13f437e38027a3a2e70e341c.tar.gz
binaryen-696c76cc5abf7dec13f437e38027a3a2e70e341c.tar.bz2
binaryen-696c76cc5abf7dec13f437e38027a3a2e70e341c.zip
Remove /Wall warning level when building with Visual Studio. It is counterproductive since it spams thousands of warnings from Visual Studio runtime headers themselves.
-rw-r--r--CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e2eed16b3..786ab58dd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,7 +30,6 @@ SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib")
IF(MSVC)
ADD_COMPILE_FLAG("/arch:sse2")
- ADD_COMPILE_FLAG("/Wall")
ADD_COMPILE_FLAG("/WX-")
IF(uppercase_CMAKE_BUILD_TYPE STREQUAL "DEBUG")
ADD_COMPILE_FLAG("/O0")