From 7b84e7ed33b8ab49864ad6cf23acee7e0f38dca6 Mon Sep 17 00:00:00 2001 From: zhangxiaokun Date: Fri, 5 Feb 2021 11:04:15 +0800 Subject: [PATCH] Enable -Werror=format from UT --- tests/ut/ge/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ut/ge/CMakeLists.txt b/tests/ut/ge/CMakeLists.txt index a225dfb3..bead5cd6 100755 --- a/tests/ut/ge/CMakeLists.txt +++ b/tests/ut/ge/CMakeLists.txt @@ -778,7 +778,7 @@ list(APPEND COMMON_SHARED_LIBRARIES # build graph add_library(ge_ut_graph STATIC - ${COMMON_SRC_FILES} ${PROTO_SRCS} ${PROTO_HDRS} + ${GRAPH_SRC_FILES} ${PARSER_SRC_FILES} ${PROTO_SRCS} ${PROTO_HDRS} ) target_compile_definitions(ge_ut_graph PRIVATE