aboutsummaryrefslogtreecommitdiff
path: root/dep/CascLib
diff options
context:
space:
mode:
authorDDuarte <dnpd.dd@gmail.com>2015-07-03 02:23:58 +0100
committerDDuarte <dnpd.dd@gmail.com>2015-07-03 02:23:58 +0100
commit58adb74717be6f64511a16ab1194ee29378b0327 (patch)
tree933bd85cc2fbe76d58e288b52630c210dc64b690 /dep/CascLib
parentccfaf663aa90d4df2f2b9a06d305edc168113b6d (diff)
Dep: Disable 2 warnings in zmqpp and CascLib
Diffstat (limited to 'dep/CascLib')
-rw-r--r--dep/CascLib/CMakeLists.txt5
1 files changed, 5 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})