Merged in AllowDeprecatedFix (pull request #220)
External define for depricated functionsrelease/4.3a0
commit
738cc66a8e
|
@ -322,10 +322,6 @@ if(GTSAM_ENABLE_CONSISTENCY_CHECKS)
|
||||||
add_definitions(-DGTSAM_EXTRA_CONSISTENCY_CHECKS)
|
add_definitions(-DGTSAM_EXTRA_CONSISTENCY_CHECKS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(GTSAM_ALLOW_DEPRECATED_SINCE_V4)
|
|
||||||
add_definitions(-DGTSAM_ALLOW_DEPRECATED_SINCE_V4)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Add components
|
# Add components
|
||||||
|
|
||||||
|
|
|
@ -60,4 +60,5 @@
|
||||||
// Option for not throwing the CheiralityException for points that are behind a camera
|
// Option for not throwing the CheiralityException for points that are behind a camera
|
||||||
#cmakedefine GTSAM_THROW_CHEIRALITY_EXCEPTION
|
#cmakedefine GTSAM_THROW_CHEIRALITY_EXCEPTION
|
||||||
|
|
||||||
|
// Make sure dependent projects that want it can see deprecated functions
|
||||||
|
#cmakedefine GTSAM_ALLOW_DEPRECATED_SINCE_V4
|
||||||
|
|
Loading…
Reference in New Issue