Skip to content

Commit e28b4ce

Browse files
authored
linux v4l2 capture mjpg (#117)
1 parent 4393a3d commit e28b4ce

File tree

4 files changed

+1080
-0
lines changed

4 files changed

+1080
-0
lines changed

highgui/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ set(highgui_srcs
1515
${CMAKE_CURRENT_LIST_DIR}/src/nms.cpp
1616
)
1717

18+
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
19+
list(APPEND highgui_srcs
20+
${CMAKE_CURRENT_LIST_DIR}/src/capture_v4l2.cpp)
21+
endif()
22+
1823
if(WITH_CVI)
1924
list(APPEND highgui_srcs
2025
${CMAKE_CURRENT_LIST_DIR}/src/capture_cvi.cpp

0 commit comments

Comments
 (0)