mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Allow setting IS_PART_OF_WORLD in command line, fix videoio plugin linking
This commit is contained in:
@@ -21,8 +21,8 @@ function(ocv_create_builtin_videoio_plugin name target)
|
||||
target_link_libraries(${name} PRIVATE ${target})
|
||||
|
||||
foreach(mod opencv_videoio opencv_core opencv_imgproc opencv_imgcodecs)
|
||||
target_link_libraries(${name} PRIVATE ${mod})
|
||||
target_include_directories(${name} PRIVATE "${OPENCV_MODULE_${mod}_LOCATION}/include")
|
||||
ocv_target_link_libraries(${name} LINK_PRIVATE ${mod})
|
||||
ocv_target_include_directories(${name} PRIVATE "${OPENCV_MODULE_${mod}_LOCATION}/include")
|
||||
endforeach()
|
||||
|
||||
set_target_properties(${name} PROPERTIES
|
||||
|
||||
Reference in New Issue
Block a user