diff options
Diffstat (limited to 'dep/CascLib')
-rw-r--r-- | dep/CascLib/CMakeLists.txt | 5 |
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}) |