From 03a45db7f3905ba834e4a0690b70936bd37b2633 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 16 Jun 2015 16:32:45 +0200 Subject: Initial commit For the past plugin history refer to the libuca repository. --- cmake/FindIPE.cmake | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 cmake/FindIPE.cmake (limited to 'cmake/FindIPE.cmake') diff --git a/cmake/FindIPE.cmake b/cmake/FindIPE.cmake new file mode 100644 index 0000000..11e8d90 --- /dev/null +++ b/cmake/FindIPE.cmake @@ -0,0 +1,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 +) -- cgit v1.2.3