You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(MINGW OR (DIRECTSHOW_QEDIT_INCLUDE_DIR AND DIRECTSHOW_STRMIIDS_LIBRARY))
36
-
# MinGW may include the header/lib in such a way that the find module
37
-
# can't find them
38
-
set(HAVE_VIDEOTRACKER_DEPS ON)
39
-
else()
40
-
message(STATUS"Skipping the video-based tracker plugin: Requires the 'Microsoft Windows SDK Update for Windows Vista' or older <http://www.microsoft.com/en-us/download/details.aspx?id=23719>")
41
-
if(NOT DIRECTSHOW_QEDIT_INCLUDE_DIR)
42
-
message(STATUS" - DIRECTSHOW_QEDIT_INCLUDE_DIR not found: Couldn't find a qedit.h file declaring ISampleGrabber.")
43
-
endif()
44
-
if(NOT DIRECTSHOW_STRMIIDS_LIBRARY)
45
-
message(STATUS" - DIRECTSHOW_STRMIIDS_LIBRARY not found: Couldn't find the strmiids.lib or libstrmiids.a library.")
46
-
endif()
47
-
endif()
48
-
elseif(NOT ANDROID)
49
-
# Non-Windows desktop platforms can use libuvc
50
-
find_package(libuvc)
51
-
if(libuvc_INCLUDE_DIRS AND libuvc_LIBRARIES)
52
-
set(LIBUVC_FOUND ON)
53
-
else()
54
-
set(LIBUVC_FOUND OFF)
55
-
endif()
56
-
find_package(Libusb1)
57
-
if(LIBUSB1_FOUND AND LIBUVC_FOUND)
58
-
set(HAVE_VIDEOTRACKER_DEPS ON)
59
-
else()
60
-
message(STATUS"Video tracker plugin disabled due to missing libuvc or libusb1")
61
-
set(HAVE_VIDEOTRACKER_DEPS OFF)
62
-
endif()
63
-
endif()
64
-
65
-
if(WIN32)
66
-
set(UVBI_EXTRA_CONDITION "AND BOOST_FOUND")
67
-
else()
68
-
set(UVBI_EXTRA_CONDITION)
69
-
endif()
70
-
71
-
cmake_dependent_option(BUILD_VIDEOTRACKERSHARED
72
-
"Build the videotrackershared libs"
73
-
ON"OpenCV_FOUND AND JSONCPP_FOUND ${UVBI_EXTRA_CONDITION}"OFF)
74
-
75
-
cmake_dependent_option(BUILD_UVBI
76
-
"Build the UVBI high-level tracker libs libs"
77
-
ON"BUILD_VIDEOTRACKERSHARED AND HAVE_VIDEOTRACKER_DEPS"OFF)
0 commit comments