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