mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Fixed build with g2o on Windows
This commit is contained in:
@@ -157,6 +157,9 @@ IF(FlyCapture2_FOUND)
|
||||
ENDIF(FlyCapture2_FOUND)
|
||||
|
||||
IF(G2O_FOUND)
|
||||
IF(G2O_CHOMOLD_FOUND)
|
||||
ADD_DEFINITIONS("-DWITH_G2O_CHOMOLD")
|
||||
ENDIF(G2O_CHOMOLD_FOUND)
|
||||
ADD_DEFINITIONS("-DWITH_G2O")
|
||||
SET(INCLUDE_DIRS
|
||||
${INCLUDE_DIRS}
|
||||
@@ -169,7 +172,6 @@ IF(G2O_FOUND)
|
||||
|
||||
SET(SRC_FILES
|
||||
${SRC_FILES}
|
||||
vertigo/g2o/edge_se2MaxMixture.cpp
|
||||
vertigo/g2o/edge_se2Switchable.cpp
|
||||
vertigo/g2o/edge_se3Switchable.cpp
|
||||
vertigo/g2o/edge_switchPrior.cpp
|
||||
|
||||
Reference in New Issue
Block a user