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:
matlabbe
2013-12-13 00:51:48 +00:00
parent 1c3f78f2d6
commit 804c9162d0
6 changed files with 14 additions and 49 deletions

View File

@@ -30,15 +30,7 @@ ELSE()
TARGET_LINK_LIBRARIES(rtabmap_utilite ${PTHREADS_LIBRARY})
ENDIF()
SET_TARGET_PROPERTIES(
rtabmap_utilite
PROPERTIES
OUTPUT_NAME ${PROJECT_PREFIX}_utilite
INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/lib
)
INSTALL(TARGETS rtabmap_utilite
EXPORT RTABMapTargets
RUNTIME DESTINATION "${INSTALL_BIN_DIR}" COMPONENT runtime
LIBRARY DESTINATION "${INSTALL_LIB_DIR}" COMPONENT devel
ARCHIVE DESTINATION "${INSTALL_LIB_DIR}" COMPONENT devel)