1
0

Merge pull request #2376 from mjhanninen/fix-freebsd-build

Fix FreeBSD build
This commit is contained in:
Mattes D 2015-07-29 15:36:57 +02:00
commit 5dbe1e7303

View File

@ -27,6 +27,7 @@ SET (HDRS
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
set_source_files_properties(HTTPServer.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=global-constructors -Wno-error=old-style-cast")
set_source_files_properties(HTTPConnection.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=switch-enum")
set_source_files_properties(HTTPMessage.cpp PROPERTIES COMPILE_FLAGS "-Wno-error=tautological-compare")
endif()
if(NOT MSVC)