crypto++, gtest and gmock: ignore external lib warnings, not much we can do about them

This commit is contained in:
Nick Bolton 2014-02-24 16:32:18 +00:00
parent 77676d558e
commit bdb4c47898
2 changed files with 11 additions and 0 deletions

View File

@ -23,5 +23,11 @@ include_directories(
add_library(gtest STATIC ../../tools/gtest-1.6.0/src/gtest-all.cc)
add_library(gmock STATIC ../../tools/gmock-1.6.0/src/gmock-all.cc)
if (UNIX)
# ignore warnings in gtest and gmock
set_target_properties(gtest PROPERTIES COMPILE_FLAGS "-w")
set_target_properties(gmock PROPERTIES COMPILE_FLAGS "-w")
endif()
add_subdirectory(integtests)
add_subdirectory(unittests)

View File

@ -85,3 +85,8 @@ if (UNIX)
endif()
add_library(cryptopp STATIC ${cryptopp_src})
if (UNIX)
# ignore warnings in crypto++
set_target_properties(cryptopp PROPERTIES COMPILE_FLAGS "-w")
endif()