-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathrfsslam-config.cmake.in
30 lines (23 loc) · 1.15 KB
/
rfsslam-config.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# - Config file for the FooBar package
# It defines the following variables
# FOOBAR_INCLUDE_DIRS - include directories for FooBar
# FOOBAR_LIBRARIES - libraries to link against
# FOOBAR_EXECUTABLE - the bar executable
# Compute paths
get_filename_component(RFSSLAM_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
find_path(RFSSLAM_INCLUDE_DIR "rfsslam" PATHS "/usr/local/include")
find_path(RFSSLAM_LIBRARY "rfsslam/librfsslam.a" PATHS "/usr/local/lib")
set(RFSSLAM_INCLUDE_DIRS ${RFS_INCLIDE_DIR} "@Boost_INCLUDE_DIRS@" "@EIGEN_INCLUDE_DIRS@")
# Our library dependencies (contains definitions for IMPORTED targets)
if(NOT TARGET rfsslam AND NOT RFSSLAM_BINARY_DIR)
include("${RFSSLAM_CMAKE_DIR}/rfsslam-targets.cmake")
endif()
# These are IMPORTED targets created by rfsslam-targets.cmake
set(RFSSLAM_LIBRARIES rfsslam "@Boost_LIBRARIES@")
#set(RFSSLAM_EXECUTABLE foobar)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(RFSSLAM DEFAULT_MSG RFSSLAM_INCLUDE_DIR RFSSLAM_LIBRARY)
mark_as_advanced(RFSSLAM_INCLUDE_DIR RFSSLAM_LIBRARY)
if(RFSSLAM_FOUND)
message(STATUS "RFSSLAM found (include: ${RFSSLAM_INCLUDE_DIR})")
endif(RFSSLAM_FOUND)