From f95bb3e41f8da12d5d59092def6f4a3641bcfe04 Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 18 May 2024 21:37:07 +0800 Subject: [PATCH] =?UTF-8?q?2024.5.16=20=E6=B5=8B=E8=AF=95=E6=95=B4?= =?UTF-8?q?=E4=BD=93=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/CMakeLists.txt b/bin/CMakeLists.txt index a22334f..9707341 100644 --- a/bin/CMakeLists.txt +++ b/bin/CMakeLists.txt @@ -1,12 +1,11 @@ add_executable(decoder_main decoder_main.cc) -target_link_libraries(decoder_main PUBLIC decoder ${GFLAGS_LIBRARIES}) +target_link_libraries(decoder_main PUBLIC decoder) if(IPEX) target_link_libraries(decoder_main PUBLIC "${TORCH_IPEX_LIBRARIES}") endif() -message(STATUS "GFLAGS_BUILD_DIR: ${GFLAGS_BUILD_DIR}") add_executable(label_checker_main label_checker_main.cc) -target_link_libraries(label_checker_main PUBLIC decoder ${GFLAGS_LIBRARIES}) +target_link_libraries(label_checker_main PUBLIC decoder) if(TORCH) add_executable(api_main api_main.cc)