summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias@ipepdvpc2>2011-03-04 16:28:22 +0100
committerMatthias Vogelgesang <matthias@ipepdvpc2>2011-03-04 16:28:22 +0100
commitba34fc549873b52f4c78e44c1f71adfc2980bf48 (patch)
tree08c5c034c683a2000c09bfec4d894b175d9d2fb8 /cmake
parentf387ab99787f4d11d6ae6fb2fc647f35af10cd19 (diff)
downloaduca-ba34fc549873b52f4c78e44c1f71adfc2980bf48.tar.gz
uca-ba34fc549873b52f4c78e44c1f71adfc2980bf48.tar.bz2
uca-ba34fc549873b52f4c78e44c1f71adfc2980bf48.tar.xz
uca-ba34fc549873b52f4c78e44c1f71adfc2980bf48.zip
Find photon focus library
Diffstat (limited to '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
+)