summaryrefslogtreecommitdiffstats
path: root/cmake/FindPF.cmake
blob: 090225dcef6fc317058a0c757d2dfaab3b1d22ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Try to find libpco.so
#
# Defines
#
# PCO_FOUND - system has libpco
# PCO_INCLUDE_DIRS - libpco include directory
# PCO_LIBRARIES - pco library

find_package(PackageHandleStandardArgs)

find_path(PF_INCLUDE_DIRS libpf/pfcam.h)
find_library(PF_LIBRARIES NAMES comdll mv2_d1280_640)

find_package_handle_standard_args(PF DEFAULT_MSG PF_LIBRARIES PF_INCLUDE_DIRS)

mark_as_advanced(
    PF_INCLUDE_DIRS
    PF_LIBRARIES
)