Skip to content

Commit

Permalink
[Fix] fix missing deploy_core (open-mmlab#80)
Browse files Browse the repository at this point in the history
* fix missing deploy_core

* mv flag to demo

* target link
  • Loading branch information
AllentDan authored Jan 25, 2022
1 parent eeddd8a commit aa70b94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/csrc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ find_package(MMDeploy REQUIRED)

function(add_example name)
add_executable(${name} ${name}.cpp)
target_link_libraries(${name} ${MMDeploy_LIBS} opencv_imgcodecs
opencv_imgproc opencv_core)
target_link_libraries(${name} ${MMDeploy_LIBS} -Wl,--disable-new-dtags
opencv_imgcodecs opencv_imgproc opencv_core)
endfunction()

add_example(image_classification)
Expand Down

0 comments on commit aa70b94

Please sign in to comment.