mediapipe/third_party/ceres_solver_compatibility_fixes.diff
MediaPipe Team b133b0f200 Project import generated by Copybara.
GitOrigin-RevId: afeb9cf5a8c069c0a566d16e1622bbb086170e4d
2020-05-21 13:37:51 -04:00

22 lines
702 B
Diff

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",
],
)