diff options
| author | jackpoz <giacomopoz@gmail.com> | 2015-07-01 21:49:42 +0200 |
|---|---|---|
| committer | jackpoz <giacomopoz@gmail.com> | 2015-07-01 22:03:36 +0200 |
| commit | 77f7f562683753a15bd2d3f80e65385f88383566 (patch) | |
| tree | 636c477802142ebe350b29df9c3b615476cb3d5a | |
| parent | 93d1028d75ee4847ebcaa075f56a4d9e7632c33a (diff) | |
Dep/gsoap: Turn off build warnings
Disable -Wunused-parameter warnings in gsoap library to have a 0-warning build till the library gets updated
| -rw-r--r-- | dep/gsoap/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dep/gsoap/CMakeLists.txt b/dep/gsoap/CMakeLists.txt index e339ccb00ea..2cf78e1058b 100644 --- a/dep/gsoap/CMakeLists.txt +++ b/dep/gsoap/CMakeLists.txt @@ -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) |
