mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-14 23:40:20 +08:00
Fixed GTSAM search by ignoring findGTSAM.cmake file from PCL
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ before_build:
|
||||
- cd c:\projects\rtabmap\build
|
||||
- ECHO %PROGRAMFILES%
|
||||
- ECHO %PATH%
|
||||
- cmake -G "Visual Studio 14 2015 Win64" -DOpenCV_DIR="C:\Program Files\opencv\build" -DPCL_DIR="C:\Program Files\PCL\cmake" -DGTSAM_DIR="C:\Program Files\GTSAM\CMake" -DBUILD_AS_BUNDLE=ON ..
|
||||
- cmake -G "Visual Studio 14 2015 Win64" -DOpenCV_DIR="C:\Program Files\opencv\build" -DPCL_DIR="C:\Program Files\PCL\cmake" -DBUILD_AS_BUNDLE=ON ..
|
||||
|
||||
after_build :
|
||||
- cmake --build . --config Release --target package
|
||||
|
||||
+2
-1
@@ -316,7 +316,8 @@ IF(WITH_G2O)
|
||||
ENDIF(WITH_G2O)
|
||||
|
||||
IF(WITH_GTSAM)
|
||||
FIND_PACKAGE(GTSAM QUIET)
|
||||
# Force config mode to ignore PCL's findGTSAM.cmake file
|
||||
FIND_PACKAGE(GTSAM CONFIG QUIET)
|
||||
ENDIF(WITH_GTSAM)
|
||||
|
||||
IF(WITH_FLYCAPTURE2)
|
||||
|
||||
Reference in New Issue
Block a user