videoio: set plugin output dir on windows to bin

This commit is contained in:
Maksim Shabunin 2020-04-08 12:19:00 +03:00
parent ca6a11e4d2
commit 90e7c29c46

View File

@ -44,6 +44,7 @@ function(ocv_create_builtin_videoio_plugin name target)
)
if(WIN32)
set_target_properties(${name} PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})
install(TARGETS ${name} OPTIONAL LIBRARY DESTINATION ${OPENCV_BIN_INSTALL_PATH} COMPONENT plugins)
else()
install(TARGETS ${name} OPTIONAL LIBRARY DESTINATION ${OPENCV_LIB_INSTALL_PATH} COMPONENT plugins)