option(GTSAM_UNSTABLE_BUILD_PYTHON"Enable/Disable Python wrapper for libgtsam_unstable"ON)
option(GTSAM_UNSTABLE_INSTALL_MATLAB_TOOLBOX"Enable/Disable MATLAB wrapper for libgtsam_unstable"OFF)
endif()
option(BUILD_SHARED_LIBS"Build shared gtsam library, instead of static"ON)
option(GTSAM_USE_QUATERNIONS"Enable/Disable using an internal Quaternion representation for rotations instead of rotation matrices. If enable, Rot3::EXPMAP is enforced by default."OFF)
option(GTSAM_POSE3_EXPMAP"Enable/Disable using Pose3::EXPMAP as the default mode. If disabled, Pose3::FIRST_ORDER will be used."ON)
option(GTSAM_ROT3_EXPMAP"Ignore if GTSAM_USE_QUATERNIONS is OFF (Rot3::EXPMAP by default). Otherwise, enable Rot3::EXPMAP, or if disabled, use Rot3::CAYLEY."ON)
message(FATAL_ERROR"GTSAM_INSTALL_MATLAB_TOOLBOX and BUILD_SHARED_LIBS=OFF. The MATLAB wrapper cannot be compiled with a static GTSAM library because mex modules are themselves shared libraries. If you want a self-contained mex module, enable GTSAM_MEX_BUILD_STATIC_MODULE instead of BUILD_SHARED_LIBS=OFF.")