mirror of
https://github.com/opencv/opencv.git
synced 2025-08-05 22:19:14 +08:00
videoio: set plugin output dir on windows to bin
This commit is contained in:
parent
ca6a11e4d2
commit
90e7c29c46
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user