File: FindV4l.cmake

package info (click to toggle)
tellico 4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 29,408 kB
  • sloc: cpp: 89,961; xml: 41,049; ansic: 7,011; javascript: 454; python: 354; ada: 32; sh: 28; perl: 17; makefile: 13
file content (20 lines) | stat: -rw-r--r-- 617 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# LIBV4L_FOUND - system has the libv4l library
# LIBV4L_INCLUDE_DIR - the libv4l include directory
# LIBV4l_LIBRARIES - The libraries needed to use libv4llibv4l
#
# Redistribution and use is allowed according to the terms of the BSD license.
#
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.

FIND_PATH(LIBV4L_INCLUDE_DIR
    NAMES libv4l1.h
)

FIND_LIBRARY(LIBV4L_LIBRARIES
    NAMES v4l1
)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(libv4l FOUND_VAR LIBV4L_FOUND REQUIRED_VARS LIBV4L_INCLUDE_DIR LIBV4L_LIBRARIES)

mark_as_advanced(LIBV4L_INCLUDE_DIR LIBV4L_LIBRARIES)