=== modified file 'cmake/FindPCO.cmake'
|
|
|
8 | 8 | |
9 | 9 | find_package(PackageHandleStandardArgs) |
10 | 10 | |
11 | | find_path(PCO_INCLUDE_DIRS libpco/libpco.h) |
12 | | find_library(PCO_LIBRARIES pco) |
| 11 | find_path(PCO_ROOT_DIR src/libpco.h PATHS ../../libpco) |
| 12 | find_path(PCO_INCLUDE_DIRS libpco.h PATHS ${PCO_ROOT_DIR} PATH_SUFFIXES libpco src) |
| 13 | find_library(PCO_LIBRARIES pco PATHS ${PF_ROOT_DIR}) |
13 | 14 | |
14 | 15 | find_package_handle_standard_args(PCO DEFAULT_MSG PCO_LIBRARIES PCO_INCLUDE_DIRS) |
15 | 16 | |
=== modified file 'src/cameras/pco.c'
|
|
|
1 | 1 | |
2 | 2 | #include <stdlib.h> |
3 | 3 | #include <string.h> |
4 | | #include <libpco/libpco.h> |
| 4 | #include <libpco.h> |
5 | 5 | #include "uca.h" |
6 | 6 | #include "uca-cam.h" |
7 | 7 | #include "uca-grabber.h" |