summaryrefslogtreecommitdiffstats
path: root/cmake/FindIPE.cmake
blob: 11e8d90382ed4c6ab4efab24d867ac2589ab6709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Try to find user-space driver for the IPE camera
#
# Defines
#
# IPE_FOUND - system has libpcidriver
# IPE_INCLUDE_DIRS - libpci include directory
# IPE_LIBRARIES - pci library

find_package(PackageHandleStandardArgs)

find_path(IPE_INCLUDE_DIRS pcilib.h)
find_library(IPE_LIBRARIES pcilib)

find_package_handle_standard_args(IPE DEFAULT_MSG IPE_LIBRARIES IPE_INCLUDE_DIRS)

mark_as_advanced(
    IPE_INCLUDE_DIRS
    IPE_LIBRARIES
)