Adds -Wno-sign-compare to gtest target

develop
Josh Cooper 2022-11-11 16:01:16 -08:00
parent 32b030e348
commit 9fdb2f7e47
1 changed files with 1 additions and 1 deletions

@ -5,7 +5,7 @@ add_subdirectory(md5)
add_subdirectory(protobuf)
if(BUILD_TESTING)
add_subdirectory(googletest EXCLUDE_FROM_ALL)
set_target_properties(gtest PROPERTIES COMPILE_FLAGS "-Wno-maybe-uninitialized")
set_target_properties(gtest PROPERTIES COMPILE_FLAGS "-Wno-maybe-uninitialized -Wno-sign-compare")
endif()
# Don't build tinyxml if it's being externally linked against.