mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Fixed package creation (package target), updated RTABMapConfig.cmake
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1051 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -2,15 +2,13 @@
|
||||
# It defines the following variables
|
||||
# RTABMap_INCLUDE_DIRS - include directories for RTABMap
|
||||
# RTABMap_LIBRARIES - libraries to link against
|
||||
# RTABMap_EXECUTABLE - the bar executable
|
||||
|
||||
# Compute paths
|
||||
get_filename_component(RTABMap_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
set(RTABMap_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")
|
||||
|
||||
# Our library dependencies (contains definitions for IMPORTED targets)
|
||||
include("${RTABMap_CMAKE_DIR}/RTABMapTargets.cmake")
|
||||
|
||||
# These are IMPORTED targets created by RTABMapTargets.cmake
|
||||
set(RTABMap_LIBRARIES rtabmap_core rtabmap_gui rtabmap_utilite)
|
||||
set(RTABMap_EXECUTABLE rtabmap)
|
||||
find_library(CORE_LIB NAMES rtabmap_core NO_DEFAULT_PATH HINTS "@CONF_LIB_DIR@")
|
||||
find_library(GUI_LIB NAMES rtabmap_gui NO_DEFAULT_PATH HINTS "@CONF_LIB_DIR@")
|
||||
find_library(UTILITE_LIB NAMES rtabmap_utilite NO_DEFAULT_PATH HINTS "@CONF_LIB_DIR@")
|
||||
set(RTABMap_LIBRARIES ${CORE_LIB} ${GUI_LIB} ${UTILITE_LIB})
|
||||
Reference in New Issue
Block a user