projects
/
platform
/
upstream
/
opencv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #11882 from alalek:videoio_vfw_lower_priority
[platform/upstream/opencv.git]
/
cmake
/
OpenCVFindVA.cmake
1
# Main variables:
2
# HAVE_VA for conditional compilation OpenCV with/without libva
3
4
if(UNIX AND NOT ANDROID)
5
find_path(
6
VA_INCLUDE_DIR
7
NAMES va/va.h
8
PATHS "/usr/include"
9
PATH_SUFFIXES include
10
DOC "Path to libva headers")
11
endif()
12
13
if(VA_INCLUDE_DIR)
14
set(HAVE_VA TRUE)
15
set(VA_LIBRARIES "-lva" "-lva-drm")
16
else()
17
set(HAVE_VA FALSE)
18
message(WARNING "libva installation is not found.")
19
endif()