mirror of
https://github.com/opencv/opencv.git
synced 2025-01-19 15:04:01 +08:00
Merge pull request #19627 from mshabunin:plugin-default-suffix
This commit is contained in:
commit
543379d343
@ -120,6 +120,8 @@ function(ocv_create_plugin module default_name dependency_target dependency_targ
|
||||
set_target_properties(${OPENCV_PLUGIN_NAME} PROPERTIES OUTPUT_NAME "${OPENCV_PLUGIN_OUTPUT_NAME_FULL}")
|
||||
elseif(OPENCV_PLUGIN_OUTPUT_NAME)
|
||||
set_target_properties(${OPENCV_PLUGIN_NAME} PROPERTIES OUTPUT_NAME "${OPENCV_PLUGIN_OUTPUT_NAME}${OPENCV_PLUGIN_SUFFIX}")
|
||||
else()
|
||||
set_target_properties(${OPENCV_PLUGIN_NAME} PROPERTIES OUTPUT_NAME "${OPENCV_PLUGIN_NAME}${OPENCV_PLUGIN_SUFFIX}")
|
||||
endif()
|
||||
|
||||
install(TARGETS ${OPENCV_PLUGIN_NAME} LIBRARY DESTINATION . COMPONENT plugins)
|
||||
|
Loading…
Reference in New Issue
Block a user