=== modified file 'cmake/FindPF.cmake'
|
|
|
8 | 8 | |
9 | 9 | find_package(PackageHandleStandardArgs) |
10 | 10 | |
11 | | find_path(PF_INCLUDE_DIRS libpf/pfcam.h) |
12 | | find_library(PF_LIBRARY_COMDLL NAMES comdll) |
13 | | find_library(PF_LIBRARY_MV2 NAMES mv2_d1280_640) |
14 | | find_library(PF_LIBRARY_PFCAM NAMES pfcam) |
| 11 | find_path(PF_ROOT_DIR src/pfcam.h PATHS ../../libpf64) |
| 12 | |
| 13 | find_path(PF_INCLUDE_DIRS pfcam.h PATHS ${PF_ROOT_DIR} PATH_SUFFIXES libpf src) |
| 14 | find_library(PF_LIBRARY_COMDLL NAMES comdll PATHS ${PF_ROOT_DIR}/libs) |
| 15 | find_library(PF_LIBRARY_MV2 NAMES mv2_d1280_640 PATHS ${PF_ROOT_DIR}/libs) |
| 16 | find_library(PF_LIBRARY_PFCAM NAMES pfcam PATHS ${PF_ROOT_DIR}/libs) |
15 | 17 | |
16 | 18 | set(PF_LIBRARIES ${PF_LIBRARY_MV2} ${PF_LIBRARY_PFCAM} ${PF_LIBRARY_COMDLL}) |
17 | 19 | |
=== modified file 'src/cameras/pf.c'
|
|
|
2 | 2 | #include <math.h> |
3 | 3 | #include <stdlib.h> |
4 | 4 | #include <string.h> |
5 | | #include <libpf/pfcam.h> |
| 5 | #include <pfcam.h> |
6 | 6 | #include "uca.h" |
7 | 7 | #include "uca-cam.h" |
8 | 8 | #include "uca-grabber.h" |