crypto++, gtest and gmock: ignore external lib warnings, not much we can do about them
This commit is contained in:
parent
77676d558e
commit
bdb4c47898
|
@ -23,5 +23,11 @@ include_directories(
|
||||||
add_library(gtest STATIC ../../tools/gtest-1.6.0/src/gtest-all.cc)
|
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)
|
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(integtests)
|
||||||
add_subdirectory(unittests)
|
add_subdirectory(unittests)
|
||||||
|
|
|
@ -85,3 +85,8 @@ if (UNIX)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(cryptopp STATIC ${cryptopp_src})
|
add_library(cryptopp STATIC ${cryptopp_src})
|
||||||
|
|
||||||
|
if (UNIX)
|
||||||
|
# ignore warnings in crypto++
|
||||||
|
set_target_properties(cryptopp PROPERTIES COMPILE_FLAGS "-w")
|
||||||
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue