summaryrefslogtreecommitdiffstats
path: root/cmake/FindIPE.cmake
blob: 36672359cdf6b7cb3d78afebc27a5c578563faef (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 pcidriver)

find_package_handle_standard_args(IPE DEFAULT_MSG IPE_LIBRARIES IPE_INCLUDE_DIRS)

mark_as_advanced(
    IPE_INCLUDE_DIRS
    IPE_LIBRARIES
)