Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MaybeShewill-CV committed Dec 17, 2024
1 parent d5b5d30 commit 37e0ad7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ foreach(dir_name ${MODEL_BENCHMARK_LIST})
foreach(src ${src_list})
string(REGEX REPLACE ".+/(.+)\\..*" "\\1" file_name ${src})
add_executable(${file_name}.out ${src})
target_link_libraries(${file_name}.out common models factory ${WORKFLOW_LIBS} ${GLOG_LIBRARIES})
target_link_libraries(${file_name}.out common models factory ${WORKFLOW_LIBS} glog::glog)
endforeach()
endforeach()

Expand All @@ -50,7 +50,7 @@ foreach(dir_name ${MODEL_SERVER_APP_LIST})
foreach(src ${src_list})
string(REGEX REPLACE ".+/(.+)\\..*" "\\1" file_name ${src})
add_executable(${file_name}.out ${src})
target_link_libraries(${file_name}.out common models factory ${WORKFLOW_LIBS} ${GLOG_LIBRARIES})
target_link_libraries(${file_name}.out common models factory ${WORKFLOW_LIBS} glog::glog)
endforeach()
endforeach()

Expand All @@ -64,6 +64,6 @@ foreach(dir_name ${MODEL_TOOLS_APP_LIST})
foreach(src ${src_list})
string(REGEX REPLACE ".+/(.+)\\..*" "\\1" file_name ${src})
add_executable(${file_name}.out ${src})
target_link_libraries(${file_name}.out common models ${GLOG_LIBRARIES})
target_link_libraries(${file_name}.out common models glog::glog)
endforeach()
endforeach()
2 changes: 1 addition & 1 deletion src/models/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ target_link_libraries(
common
${MNN_LIBS}
${OpenCV_LIBS}
${GLOG_LIBRARIES}
glog::glog
${ONNXRUNTIME_LIBRARIES}
${FMT_LIBRARIES}
${NVINFER_LIBRARIES}
Expand Down
2 changes: 1 addition & 1 deletion src/server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ target_link_libraries(
common
models
${WORKFLOW_LIBS}
${GLOG_LIBRARIES}
glog::glog
)
set_target_properties(server PROPERTIES LINKER_LANGUAGE CXX)

0 comments on commit 37e0ad7

Please sign in to comment.