Fixed GTSAM search by ignoring findGTSAM.cmake file from PCL

This commit is contained in:
matlabbe
2018-10-11 14:28:41 -04:00
parent aa13ea1a80
commit e4098cb54b
2 changed files with 3 additions and 2 deletions

View File

@@ -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)