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
8d61ecbc
Commit
8d61ecbc
authored
Sep 14, 2014
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3205 from parafin:ximea_unix-3.0
parents
87f0010f
ed402c5b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
CMakeLists.txt
CMakeLists.txt
+1
-1
OpenCVFindXimea.cmake
cmake/OpenCVFindXimea.cmake
+6
-0
CMakeLists.txt
modules/videoio/CMakeLists.txt
+5
-1
No files found.
CMakeLists.txt
View file @
8d61ecbc
...
@@ -153,7 +153,7 @@ OCV_OPTION(WITH_V4L "Include Video 4 Linux support" ON
...
@@ -153,7 +153,7 @@ OCV_OPTION(WITH_V4L "Include Video 4 Linux support" ON
OCV_OPTION
(
WITH_LIBV4L
"Use libv4l for 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 VideoIO with DirectShow support"
ON
IF
(
WIN32 AND NOT ARM
)
)
OCV_OPTION
(
WITH_DSHOW
"Build VideoIO with DirectShow support"
ON
IF
(
WIN32 AND NOT ARM
)
)
OCV_OPTION
(
WITH_MSMF
"Build VideoIO with Media Foundation support"
OFF IF WIN32
)
OCV_OPTION
(
WITH_MSMF
"Build VideoIO with Media Foundation support"
OFF IF WIN32
)
OCV_OPTION
(
WITH_XIMEA
"Include XIMEA cameras support"
OFF
IF
(
NOT ANDROID
AND NOT APPLE
)
)
OCV_OPTION
(
WITH_XIMEA
"Include XIMEA cameras support"
OFF
IF
(
NOT ANDROID
)
)
OCV_OPTION
(
WITH_XINE
"Include Xine support (GPL)"
OFF
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_XINE
"Include Xine support (GPL)"
OFF
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_CLP
"Include Clp support (EPL)"
OFF
)
OCV_OPTION
(
WITH_CLP
"Include Clp support (EPL)"
OFF
)
OCV_OPTION
(
WITH_OPENCL
"Include OpenCL Runtime support"
ON
IF
(
NOT IOS
)
)
OCV_OPTION
(
WITH_OPENCL
"Include OpenCL Runtime support"
ON
IF
(
NOT IOS
)
)
...
...
cmake/OpenCVFindXimea.cmake
View file @
8d61ecbc
...
@@ -31,6 +31,12 @@ if(WIN32)
...
@@ -31,6 +31,12 @@ if(WIN32)
else
()
else
()
set
(
XIMEA_FOUND 0
)
set
(
XIMEA_FOUND 0
)
endif
()
endif
()
elseif
(
APPLE
)
if
(
EXISTS /Library/Frameworks/m3api.framework
)
set
(
XIMEA_FOUND 1
)
else
()
set
(
XIMEA_FOUND 0
)
endif
()
else
()
else
()
if
(
EXISTS /opt/XIMEA
)
if
(
EXISTS /opt/XIMEA
)
set
(
XIMEA_FOUND 1
)
set
(
XIMEA_FOUND 1
)
...
...
modules/videoio/CMakeLists.txt
View file @
8d61ecbc
...
@@ -94,12 +94,16 @@ endif(HAVE_opencv_androidcamera)
...
@@ -94,12 +94,16 @@ endif(HAVE_opencv_androidcamera)
if
(
HAVE_XIMEA
)
if
(
HAVE_XIMEA
)
list
(
APPEND videoio_srcs
${
CMAKE_CURRENT_LIST_DIR
}
/src/cap_ximea.cpp
)
list
(
APPEND videoio_srcs
${
CMAKE_CURRENT_LIST_DIR
}
/src/cap_ximea.cpp
)
if
(
XIMEA_PATH
)
ocv_include_directories
(
${
XIMEA_PATH
}
)
ocv_include_directories
(
${
XIMEA_PATH
}
)
endif
()
if
(
XIMEA_LIBRARY_DIR
)
if
(
XIMEA_LIBRARY_DIR
)
link_directories
(
"
${
XIMEA_LIBRARY_DIR
}
"
)
link_directories
(
"
${
XIMEA_LIBRARY_DIR
}
"
)
endif
()
endif
()
if
(
X86_64
)
if
(
WIN32 AND
X86_64
)
list
(
APPEND VIDEOIO_LIBRARIES m3apiX64
)
list
(
APPEND VIDEOIO_LIBRARIES m3apiX64
)
elseif
(
APPLE
)
list
(
APPEND VIDEOIO_LIBRARIES
"-framework m3api"
)
else
()
else
()
list
(
APPEND VIDEOIO_LIBRARIES m3api
)
list
(
APPEND VIDEOIO_LIBRARIES m3api
)
endif
()
endif
()
...
...
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