diff options
author | jackpoz <giacomopoz@gmail.com> | 2015-07-01 21:49:42 +0200 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2015-07-03 01:14:41 +0100 |
commit | 2dba70c65593534a9a9da6fe16735728002502d7 (patch) | |
tree | 5d149b1acda8827ddb61d7483fde43786544501a | |
parent | aac7374a0925fc1c8a4cf83c7a3ac6105305ba77 (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
(cherry picked from commit 77f7f562683753a15bd2d3f80e65385f88383566)
-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) |