diff options
author | Lee Salzman <[email protected]> | 2017-05-21 22:09:53 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2017-05-21 22:09:53 -0400 |
commit | 9d9ba122d4818f7ae1aef2197933ac696edb2331 (patch) | |
tree | 195ca5aeb4bce1e4bdcdd0bbb8eddf621680c7fe /CMakeLists.txt | |
parent | 0891c520d286d3d513278b624a432254041e6de8 (diff) | |
parent | 90560cd471ed0a93ce52eae71996d8eeaa752f0c (diff) | |
download | enet-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.txt | 2 |
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) |