diff options
author | DDuarte <dnpd.dd@gmail.com> | 2015-07-03 02:23:58 +0100 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2015-07-03 02:23:58 +0100 |
commit | 58adb74717be6f64511a16ab1194ee29378b0327 (patch) | |
tree | 933bd85cc2fbe76d58e288b52630c210dc64b690 /dep | |
parent | ccfaf663aa90d4df2f2b9a06d305edc168113b6d (diff) |
Dep: Disable 2 warnings in zmqpp and CascLib
Diffstat (limited to 'dep')
-rw-r--r-- | dep/CascLib/CMakeLists.txt | 5 | ||||
-rw-r--r-- | dep/zmqpp/CMakeLists.txt | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dep/CascLib/CMakeLists.txt b/dep/CascLib/CMakeLists.txt index 429ebfb78e8..7217e8642f4 100644 --- a/dep/CascLib/CMakeLists.txt +++ b/dep/CascLib/CMakeLists.txt @@ -39,4 +39,9 @@ set(TOMCRYPT_FILES include_directories(${CMAKE_SOURCE_DIR}/dep) +# Turn off warnings for casclib till the sources are updated +IF ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") + set_source_files_properties(Common.cpp PROPERTIES COMPILE_FLAGS -Wno-char-subscripts) +endif() + add_library(casc STATIC ${SRC_FILES} ${TOMCRYPT_FILES}) diff --git a/dep/zmqpp/CMakeLists.txt b/dep/zmqpp/CMakeLists.txt index 4166d4fd8b3..1792bc0a4f3 100644 --- a/dep/zmqpp/CMakeLists.txt +++ b/dep/zmqpp/CMakeLists.txt @@ -20,6 +20,11 @@ add_library(zmqpp STATIC ${zmqpp_STAT_SRCS} ) +# Turn off warnings for zmqpp till the sources are updated +IF ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") + set_source_files_properties(socket.cpp PROPERTIES COMPILE_FLAGS -Wno-unused-const-variable) +endif() + if (WIN32) add_definitions(-DBUILD_VERSION=\\"3.2.0\\") else() |