From ea0583974ebab30dffac3fc35c05dc2df1b01586 Mon Sep 17 00:00:00 2001 From: ZailiWang Date: Wed, 30 Aug 2023 16:28:13 +0800 Subject: [PATCH] [fix] update IPEX lib name in CMake file --- runtime/core/bin/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/core/bin/CMakeLists.txt b/runtime/core/bin/CMakeLists.txt index 4e2dead65..4b928d844 100644 --- a/runtime/core/bin/CMakeLists.txt +++ b/runtime/core/bin/CMakeLists.txt @@ -1,7 +1,7 @@ add_executable(decoder_main decoder_main.cc) target_link_libraries(decoder_main PUBLIC decoder) if(IPEX) - target_link_libraries(decoder_main PUBLIC "-Wl,--no-as-needed ${IPEX_CPU_CORE_LIBRARY}") + target_link_libraries(decoder_main PUBLIC "${TORCH_IPEX_LIBRARIES}") endif() add_executable(label_checker_main label_checker_main.cc)