Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
8c15d276
Commit
8c15d276
authored
Oct 01, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Oct 01, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1525 from asmorkalov:ocv_custom_libv4l
parents
4d88a6e8
308fbeb0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CMakeLists.txt
CMakeLists.txt
+1
-0
OpenCVFindLibsVideo.cmake
cmake/OpenCVFindLibsVideo.cmake
+3
-1
No files found.
CMakeLists.txt
View file @
8c15d276
...
...
@@ -153,6 +153,7 @@ OCV_OPTION(WITH_CSTRIPES "Include C= support" OFF
OCV_OPTION
(
WITH_TIFF
"Include TIFF support"
ON
IF
(
NOT IOS
)
)
OCV_OPTION
(
WITH_UNICAP
"Include Unicap support (GPL)"
OFF
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_V4L
"Include Video 4 Linux support"
ON
IF
(
UNIX AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_LIBV4L
"Use libv4l for Video 4 Linux support"
ON
IF
(
UNIX AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_DSHOW
"Build HighGUI with DirectShow support"
ON
IF
(
WIN32 AND NOT ARM
)
)
OCV_OPTION
(
WITH_MSMF
"Build HighGUI with Media Foundation support"
OFF IF WIN32
)
OCV_OPTION
(
WITH_XIMEA
"Include XIMEA cameras support"
OFF
IF
(
NOT ANDROID AND NOT APPLE
)
)
...
...
cmake/OpenCVFindLibsVideo.cmake
View file @
8c15d276
...
...
@@ -125,7 +125,9 @@ endif(WITH_XINE)
# --- V4L ---
ocv_clear_vars
(
HAVE_LIBV4L HAVE_CAMV4L HAVE_CAMV4L2 HAVE_VIDEOIO
)
if
(
WITH_V4L
)
CHECK_MODULE
(
libv4l1 HAVE_LIBV4L
)
if
(
WITH_LIBV4L
)
CHECK_MODULE
(
libv4l1 HAVE_LIBV4L
)
endif
()
CHECK_INCLUDE_FILE
(
linux/videodev.h HAVE_CAMV4L
)
CHECK_INCLUDE_FILE
(
linux/videodev2.h HAVE_CAMV4L2
)
CHECK_INCLUDE_FILE
(
sys/videoio.h HAVE_VIDEOIO
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment