mediapipe/third_party/ceres_solver_compatibility_fixes.diff

22 lines
702 B
Diff
Raw Normal View History

diff --git a/bazel/ceres.bzl b/bazel/ceres.bzl
index d90e5a3..32a3fef 100644
--- a/bazel/ceres.bzl
+++ b/bazel/ceres.bzl
@@ -180,7 +180,6 @@ def ceres_library(name,
]),
copts = [
"-I" + internal,
- "-Wno-sign-compare",
] + schur_eliminator_copts,
# These include directories and defines are propagated to other targets
@@ -202,7 +201,7 @@ def ceres_library(name,
],
visibility = ["//visibility:public"],
deps = [
- "@com_github_eigen_eigen//:eigen",
- "@com_github_google_glog//:glog",
+ "@eigen_archive//:eigen",
+ "@com_github_glog_glog//:glog",
],
)