Dep/gsoap: Turn off build warnings

Disable -Wunused-parameter warnings in gsoap library to have a 0-warning build till the library gets updated
This commit is contained in:
jackpoz committed 2015-07-01 22:03:36 +02:00
1 parent 93d1028d75
commit 77f7f56268
1 file changed
+5
+5
View File
@@ -21,6 +21,11 @@ include_directories(
# Little fix for MSVC / Windows platforms
add_definitions(-D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=0)
# Turn off warnings for gsoap till the sources are updated
IF ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
set_source_files_properties(stdsoap2.cpp PROPERTIES COMPILE_FLAGS -Wno-unused-parameter)
endif()
add_library(gsoap STATIC ${gsoap_STAT_SRCS})
set_target_properties(gsoap PROPERTIES LINKER_LANGUAGE CXX)