summaryrefslogtreecommitdiffstats
path: root/cmake/FindPCO.cmake
blob: 86bbe9a5ded64e11952eaa9dcab5fbec136d099b (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(PCO_INCLUDE_DIRS libpco/libpco.h)
find_library(PCO_LIBRARIES pco)

find_package_handle_standard_args(PCO DEFAULT_MSG PCO_LIBRARIES PCO_INCLUDE_DIRS)

mark_as_advanced(
    PCO_INCLUDE_DIRS
    PCO_LIBRARIES
)