File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11######################################################################################
22# OpenCV Interface
33######################################################################################
4+ find_package (OpenCV REQUIRED)
45add_library (freenect_cv SHARED libfreenect_cv.c)
56set_target_properties (freenect_cv PROPERTIES
67 VERSION ${PROJECT_VER}
78 SOVERSION ${PROJECT_APIVER} )
89
910include_directories (../c_sync)
1011
11- target_link_libraries (freenect_cv freenect_sync cv )
12+ target_link_libraries (freenect_cv freenect_sync ${OpenCV_LIBS} )
1213
1314install (TARGETS freenect_cv
1415 DESTINATION "${PROJECT_LIBRARY_INSTALL_DIR} " )
1516install (FILES "libfreenect_cv.h"
1617 DESTINATION ${PROJECT_INCLUDE_INSTALL_DIR} )
1718
1819add_executable (cvdemo cvdemo.c)
19- target_link_libraries (cvdemo freenect freenect_sync freenect_cv cv cxcore highgui )
20+ target_link_libraries (cvdemo freenect freenect_sync freenect_cv ${OpenCV_LIBS} )
2021install (TARGETS cvdemo
2122 DESTINATION bin)
You can’t perform that action at this time.
0 commit comments