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)