Fixed build error when GTSAM is not detected

This commit is contained in:
matlabbe
2016-02-18 16:26:39 -05:00
parent 62c7be9f35
commit e999885f33

View File

@@ -282,6 +282,7 @@ ENDIF(APPLE AND BUILD_AS_BUNDLE)
####### SOURCES (Projects) #######
SET(NONFREE 0)
SET(G2O 0)
SET(GTSAM 0)
IF(OPENCV_NONFREE_FOUND OR OPENCV_XFEATURES2D_FOUND)
SET(NONFREE 1)
ENDIF(OPENCV_NONFREE_FOUND OR OPENCV_XFEATURES2D_FOUND)