def METHOD_NAME(self):
    if self.options.with_libccd:
        ccd_double_precision = self.dependencies["libccd"].options.enable_double_precision
        if self.options.precision == "single" and ccd_double_precision:
            raise ConanInvalidConfiguration("ode:precision=single requires libccd:enable_double_precision=False")
        elif self.options.precision == "double" and not ccd_double_precision:
            raise ConanInvalidConfiguration("ode:precision=double requires libccd:enable_double_precision=True")