1
0

Disable warnings in MCADefrag, ProtoProxy and tests

This commit is contained in:
tycho 2015-05-23 12:27:55 +01:00
parent 7a5c1d30f8
commit 62c99145d0
2 changed files with 6 additions and 3 deletions

View File

@ -11,8 +11,9 @@ set_flags()
set_lib_flags()
enable_profile()
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
add_flags_cxx("-Wno-error=sign-conversion -Wno-error=conversion -Wno-error=shorten-64-to-32")
endif()
# Set include paths to the used libraries:
include_directories("../../lib")

View File

@ -14,7 +14,9 @@ include_directories("../../lib")
include_directories("../../lib/polarssl/include")
include_directories("../../src")
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
add_flags_cxx("-Wno-error=conversion")
endif()
function(flatten_files arg1)
set(res "")