summaryrefslogtreecommitdiffstats
path: root/cmake/FindPF.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindPF.cmake')
-rw-r--r--cmake/FindPF.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/cmake/FindPF.cmake b/cmake/FindPF.cmake
new file mode 100644
index 0000000..1e5feae
--- /dev/null
+++ b/cmake/FindPF.cmake
@@ -0,0 +1,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 libcomdll libmv2_d1280_64)
+
+find_package_handle_standard_args(PF DEFAULT_MSG PF_LIBRARIES PF_INCLUDE_DIRS)
+
+mark_as_advanced(
+ PF_INCLUDE_DIRS
+ PF_LIBRARIES
+)