Merged in AllowDeprecatedFix (pull request #220)

External define for depricated functions
release/4.3a0
Frank Dellaert 2016-02-09 09:25:10 -08:00
commit 738cc66a8e
2 changed files with 2 additions and 5 deletions

View File

@ -322,10 +322,6 @@ if(GTSAM_ENABLE_CONSISTENCY_CHECKS)
add_definitions(-DGTSAM_EXTRA_CONSISTENCY_CHECKS)
endif()
if(GTSAM_ALLOW_DEPRECATED_SINCE_V4)
add_definitions(-DGTSAM_ALLOW_DEPRECATED_SINCE_V4)
endif()
###############################################################################
# Add components

View File

@ -60,4 +60,5 @@
// Option for not throwing the CheiralityException for points that are behind a camera
#cmakedefine GTSAM_THROW_CHEIRALITY_EXCEPTION
// Make sure dependent projects that want it can see deprecated functions
#cmakedefine GTSAM_ALLOW_DEPRECATED_SINCE_V4