Merge pull request #71 from cxong/patch-2
Don't treat warnings as errors
This commit is contained in:
@@ -20,6 +20,8 @@ check_type_size("socklen_t" HAS_SOCKLEN_T BUILTIN_TYPES_ONLY)
|
|||||||
unset(CMAKE_EXTRA_INCLUDE_FILES)
|
unset(CMAKE_EXTRA_INCLUDE_FILES)
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_definitions(-W3)
|
add_definitions(-W3)
|
||||||
|
else()
|
||||||
|
add_definitions(-Wno-error)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(HAS_FCNTL)
|
if(HAS_FCNTL)
|
||||||
|
|||||||
Reference in New Issue
Block a user