summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias@ipepdvpc2>2011-03-04 17:27:05 +0100
committerMatthias Vogelgesang <matthias@ipepdvpc2>2011-03-04 17:27:05 +0100
commit2d3a3ad1c88405bbd939134259085b780a0d8035 (patch)
treeb02eea3ea5efc62652f31589c6a193c4e9efc379 /cmake
parent9abc67deeb2912b54d8015bf11247adc36fc6247 (diff)
downloadlibuca-2d3a3ad1c88405bbd939134259085b780a0d8035.tar.gz
libuca-2d3a3ad1c88405bbd939134259085b780a0d8035.tar.bz2
libuca-2d3a3ad1c88405bbd939134259085b780a0d8035.tar.xz
libuca-2d3a3ad1c88405bbd939134259085b780a0d8035.zip
Integrate photon focus property reading
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindPF.cmake12
1 files changed, 8 insertions, 4 deletions
diff --git a/cmake/FindPF.cmake b/cmake/FindPF.cmake
index 090225d..0e3a120 100644
--- a/cmake/FindPF.cmake
+++ b/cmake/FindPF.cmake
@@ -2,17 +2,21 @@
#
# Defines
#
-# PCO_FOUND - system has libpco
-# PCO_INCLUDE_DIRS - libpco include directory
-# PCO_LIBRARIES - pco library
+# PF_FOUND - system has libpco
+# PF_INCLUDE_DIRS - libpco include directory
+# PF_LIBRARIES - pco library
find_package(PackageHandleStandardArgs)
find_path(PF_INCLUDE_DIRS libpf/pfcam.h)
-find_library(PF_LIBRARIES NAMES comdll mv2_d1280_640)
+find_library(PF_LIBRARY_COMDLL NAMES comdll)
+find_library(PF_LIBRARY_MV2 NAMES mv2_d1280_640)
+find_library(PF_LIBRARY_PFCAM NAMES pfcam)
find_package_handle_standard_args(PF DEFAULT_MSG PF_LIBRARIES PF_INCLUDE_DIRS)
+set(PF_LIBRARIES ${PF_LIBRARY_MV2} ${PF_LIBRARY_PFCAM} ${PF_LIBRARY_COMDLL})
+
mark_as_advanced(
PF_INCLUDE_DIRS
PF_LIBRARIES