From 8551dc7d7b4f3f76d987e4eab2ce9bd48b516ccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=A5=E4=B9=94?= <83450930+Liyulingyue@users.noreply.github.com> Date: Wed, 21 Feb 2024 21:15:24 +0800 Subject: [PATCH] Update CMakeLists.txt --- paddle/fluid/inference/analysis/ir_passes/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/paddle/fluid/inference/analysis/ir_passes/CMakeLists.txt b/paddle/fluid/inference/analysis/ir_passes/CMakeLists.txt index 7c5965b4a36e2..334a4145756a2 100644 --- a/paddle/fluid/inference/analysis/ir_passes/CMakeLists.txt +++ b/paddle/fluid/inference/analysis/ir_passes/CMakeLists.txt @@ -38,10 +38,7 @@ if(WITH_LITE) set(INFER_IR_PASSES ${INFER_IR_PASSES} lite_subgraph_pass CACHE INTERNAL "") - cc_test( - lite_subgraph_pass_tester - SRCS lite_subgraph_pass_tester.cc - DEPS lite_subgraph_pass gtest glog) + paddle_test(lite_subgraph_pass_tester SRCS lite_subgraph_pass_tester.cc) endif() message("WITH_DLNNE:${WITH_DLNNE}")