aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2017-05-21 22:09:53 -0400
committerGitHub <[email protected]>2017-05-21 22:09:53 -0400
commit9d9ba122d4818f7ae1aef2197933ac696edb2331 (patch)
tree195ca5aeb4bce1e4bdcdd0bbb8eddf621680c7fe /CMakeLists.txt
parent0891c520d286d3d513278b624a432254041e6de8 (diff)
parent90560cd471ed0a93ce52eae71996d8eeaa752f0c (diff)
downloadenet-9d9ba122d4818f7ae1aef2197933ac696edb2331.tar.gz
enet-9d9ba122d4818f7ae1aef2197933ac696edb2331.zip
Merge pull request #71 from cxong/patch-2
Don't treat warnings as errors
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c3c561a..6c99c3e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,6 +20,8 @@ check_type_size("socklen_t" HAS_SOCKLEN_T BUILTIN_TYPES_ONLY)
unset(CMAKE_EXTRA_INCLUDE_FILES)
if(MSVC)
add_definitions(-W3)
+else()
+ add_definitions(-Wno-error)
endif()
if(HAS_FCNTL)