-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] Remove find backend dependencies when build dynamic lib #1988
base: main
Are you sure you want to change the base?
Conversation
May merge the latest main branch to resolve github action errors |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #1988 +/- ##
=======================================
Coverage 49.68% 49.68%
=======================================
Files 339 339
Lines 12975 12975
Branches 1899 1899
=======================================
Hits 6447 6447
Misses 6080 6080
Partials 448 448
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -6,7 +6,7 @@ mmdeploy_add_library(${PROJECT_NAME} opencv_utils.cpp) | |||
|
|||
target_link_libraries(${PROJECT_NAME} | |||
PRIVATE mmdeploy::core | |||
PUBLIC ${OpenCV_LIBS}) | |||
PUBLIC $<BUILD_INTERFACE:${OpenCV_LIBS}>) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What benefits it can bring in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Motivation
support three build strategies:
MMDEPLOY_SHARED_LIBSMMDEPLOY_BUILD_SDK_MONOLITHICmmdeploy lib typeneed find backend packageONOFFdynamicnoOFFOFFstaticyesOFFONdynamicnoModification
Please briefly describe what modification is made in this PR.