Skip to content

Commit 374fe0d

Browse files
authored
[Fix] fix missing deploy_core (open-mmlab#80)
* fix missing deploy_core * mv flag to demo * target link
1 parent 9244d47 commit 374fe0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/csrc/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ find_package(MMDeploy REQUIRED)
77

88
function(add_example name)
99
add_executable(${name} ${name}.cpp)
10-
target_link_libraries(${name} ${MMDeploy_LIBS} opencv_imgcodecs
11-
opencv_imgproc opencv_core)
10+
target_link_libraries(${name} ${MMDeploy_LIBS} -Wl,--disable-new-dtags
11+
opencv_imgcodecs opencv_imgproc opencv_core)
1212
endfunction()
1313

1414
add_example(image_classification)

0 commit comments

Comments
 (0)