mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
Fixed GTSAM/Eigen include dir
This commit is contained in:
@@ -188,10 +188,17 @@ IF(G2O_FOUND)
|
|||||||
ENDIF(G2O_FOUND)
|
ENDIF(G2O_FOUND)
|
||||||
|
|
||||||
IF(GTSAM_FOUND)
|
IF(GTSAM_FOUND)
|
||||||
|
IF(GTSAM_INCLUDE_DIR)
|
||||||
SET(INCLUDE_DIRS
|
SET(INCLUDE_DIRS
|
||||||
|
${GTSAM_INCLUDE_DIR} # place it in front to use Eigen installed by GTSAM
|
||||||
${INCLUDE_DIRS}
|
${INCLUDE_DIRS}
|
||||||
${GTSAM_INCLUDE_DIRS}
|
|
||||||
)
|
)
|
||||||
|
ELSE()
|
||||||
|
SET(INCLUDE_DIRS
|
||||||
|
${GTSAM_INCLUDE_DIRS} # cmake standard
|
||||||
|
${INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
ENDIF()
|
||||||
SET(LIBRARIES
|
SET(LIBRARIES
|
||||||
${LIBRARIES}
|
${LIBRARIES}
|
||||||
gtsam
|
gtsam
|
||||||
|
|||||||
Reference in New Issue
Block a user