From e51815323bbc0b07a329af9fb22fc4944132af45 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Fri, 9 Oct 2020 14:52:25 +0100 Subject: IVGCVSW-5077 Ensure ArmNN builds successfully with latest protobuf * Use the single parameter version of SetTotalBytesLimit() * Update CMakeLists to turn off deprecated declarartions Signed-off-by: Nikhil Raj Change-Id: I2d360966743986872cfef40c2ab1a3505fc5d99a --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 06a9bb837d..99e989b08c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -145,7 +145,7 @@ if(BUILD_TF_PARSER) ) # The generated tensorflow protobuf .cc files are not warning clean and we can't fix them. if(COMPILER_IS_GNU_LIKE) - set_source_files_properties(${TF_PROTOBUFS} PROPERTIES COMPILE_FLAGS "-Wno-unused-variable -Wno-unused-parameter -Wno-conversion -Wno-sign-conversion") + set_source_files_properties(${TF_PROTOBUFS} PROPERTIES COMPILE_FLAGS "-Wno-unused-variable -Wno-unused-parameter -Wno-conversion -Wno-sign-conversion -Wno-error=deprecated-declarations") endif() add_library_ex(armnnTfParser SHARED ${armnn_tf_parser_sources}) -- cgit v1.2.1