Browse Source

2024.5.16 测试整体构建

master
Administrator 1 year ago
parent
commit
f95bb3e41f
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      bin/CMakeLists.txt

+ 2
- 3
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)

Loading…
Cancel
Save