File tree Expand file tree Collapse file tree 10 files changed +10
-10
lines changed
portmonitors/image_rotation Expand file tree Collapse file tree 10 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -25,4 +25,4 @@ find_package(OpenCV REQUIRED)
25
25
# add OpenCV include directories
26
26
target_include_directories (foo PRIVATE ${OPENCV_INCLUDE_DIR} )
27
27
# link OpenCV libraries
28
- target_link_libraries (foo PRIVATE ${OPENCV_LIBRARIES }
28
+ target_link_libraries (foo PRIVATE ${OpenCV_LIBS }
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ find_package(OpenCV REQUIRED)
10
10
11
11
add_executable (opencv_test )
12
12
target_sources (opencv_test PRIVATE main.cpp )
13
- target_link_libraries (opencv_test PRIVATE ${YARP_LIBRARIES} ${OpenCV_LIBRARIES } )
13
+ target_link_libraries (opencv_test PRIVATE ${YARP_LIBRARIES} ${OpenCV_LIBS } )
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ if(NOT SKIP_opencv_grabber)
33
33
)
34
34
35
35
target_include_directories (yarp_opencv SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS} )
36
- target_link_libraries (yarp_opencv PRIVATE ${OpenCV_LIBRARIES } )
36
+ target_link_libraries (yarp_opencv PRIVATE ${OpenCV_LIBS } )
37
37
# list(APPEND YARP_${YARP_PLUGIN_MASTER}_PRIVATE_DEPS OpenCV) (not using targets)
38
38
39
39
yarp_install (
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ if(ENABLE_usbCamera OR ENABLE_usbCameraRaw)
53
53
# list(APPEND YARP_${YARP_PLUGIN_MASTER}_PRIVATE_DEPS Libv4lconvert) (not using targets)
54
54
55
55
target_include_directories (yarp_usbCamera SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS} )
56
- target_link_libraries (yarp_usbCamera PRIVATE ${OpenCV_LIBRARIES } )
56
+ target_link_libraries (yarp_usbCamera PRIVATE ${OpenCV_LIBS } )
57
57
# list(APPEND YARP_${YARP_PLUGIN_MASTER}_PRIVATE_DEPS OpenCV) (not using targets)
58
58
59
59
yarp_install (
Original file line number Diff line number Diff line change 3
3
4
4
project (YARP_cv )
5
5
6
- # OpenCV is required, otherwise the OpenCV_INCLUDE_DIR and OpenCV_LIBRARIES
6
+ # OpenCV is required, otherwise the OpenCV_INCLUDE_DIR and OpenCV_LIBS
7
7
# (used in the CMakeLists.txt file in the src direcrory) are not expanded).
8
8
# FIXME Remove this check when OpenCV targets will be used.
9
9
if (NOT YARP_HAS_OpenCV )
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ target_link_libraries(YARP_cv INTERFACE YARP::YARP_sig)
26
26
list (APPEND YARP_cv_PUBLIC_DEPS YARP_sig )
27
27
28
28
target_include_directories (YARP_cv SYSTEM INTERFACE ${OpenCV_INCLUDE_DIRS} )
29
- target_link_libraries (YARP_cv INTERFACE ${OpenCV_LIBRARIES } )
29
+ target_link_libraries (YARP_cv INTERFACE ${OpenCV_LIBS } )
30
30
list (APPEND YARP_cv_PUBLIC_DEPS OpenCV )
31
31
32
32
# set_property(TARGET YARP_cv PROPERTY PUBLIC_HEADER ${YARP_cv_HDRS})
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ list(APPEND YARP_${YARP_PLUGIN_MASTER}_PRIVATE_DEPS
31
31
)
32
32
33
33
target_include_directories (yarp_pm_image_rotation SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS} )
34
- target_link_libraries (yarp_pm_image_rotation PRIVATE ${OpenCV_LIBRARIES } )
34
+ target_link_libraries (yarp_pm_image_rotation PRIVATE ${OpenCV_LIBS } )
35
35
36
36
yarp_install (
37
37
TARGETS yarp_pm_image_rotation
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ if(YARP_COMPILE_yarpdatadumper)
22
22
23
23
if (YARP_HAS_OpenCV )
24
24
target_compile_definitions (yarpdatadumper PRIVATE ADD_VIDEO )
25
- target_link_libraries (yarpdatadumper PRIVATE ${OpenCV_LIBRARIES } )
25
+ target_link_libraries (yarpdatadumper PRIVATE ${OpenCV_LIBS } )
26
26
target_link_libraries (yarpdatadumper PRIVATE YARP::YARP_cv )
27
27
endif ()
28
28
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ if(YARP_COMPILE_yarpdataplayer)
117
117
target_include_directories (yarpdataplayer PRIVATE ${OpenCV_INCLUDE_DIRS} )
118
118
target_link_libraries (yarpdataplayer
119
119
PRIVATE
120
- ${OpenCV_LIBRARIES }
120
+ ${OpenCV_LIBS }
121
121
YARP::YARP_cv
122
122
)
123
123
endif ()
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ if(YARP_COMPILE_yarplaserscannergui)
63
63
)
64
64
65
65
target_include_directories (yarplaserscannergui PRIVATE ${OpenCV_INCLUDE_DIRS} )
66
- target_link_libraries (yarplaserscannergui PRIVATE ${OpenCV_LIBRARIES } )
66
+ target_link_libraries (yarplaserscannergui PRIVATE ${OpenCV_LIBS } )
67
67
68
68
install (TARGETS yarplaserscannergui COMPONENT utilities DESTINATION ${CMAKE_INSTALL_BINDIR} )
69
69
You can’t perform that action at this time.
0 commit comments