-
Notifications
You must be signed in to change notification settings - Fork 81
/
CPUTSDFConfig.cmake.in
22 lines (18 loc) · 794 Bytes
/
CPUTSDFConfig.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# - Config file for the FooBar package
# It defines the following variables
# CPUTSDF_INCLUDE_DIRS - include directories for CPUTSDF
# CPUTSDF_LIBRARIES - libraries to link against
# TSDF2MESH_CPUTSDF_EXECUTABLE - the TSDF2MESH executable
# INTEGRATE_CPUTSDF_EXECUTABLE - the integrate executable
# Find and Set the library
FIND_LIBRARY(CPUTSDF_LIBRARY cpu_tsdf
PATHS @CMAKE_INSTALL_PREFIX@/lib
NO_DEFAULT_PATH
)
SET(CPUTSDF_LIBRARIES ${CPUTSDF_LIBRARY})
# Find and set the include dirs
SET(CPUTSDF_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include")
SET(CPUTSDF_INCLUDE_DIRS ${CPUTSDF_INCLUDE_DIR})
# Find and set the executables
SET(TSDF2MESH_CPUTSDF_EXECUTABLE "@CMAKE_INSTALL_PREFIX@/bin/tsdf2mesh")
SET(INTEGRATE_CPUTSDF_EXECUTABLE "@CMAKE_INSTALL_PREFIX@/bin/integrate")