Bring the Bazel build in sync with the CMake build.

1. Remove defines which are not used anymore.
2. Enable CXX11 threading.
3. Enable EIGEN_SPARSE by default.

Change-Id: I841ba517367e6b204475e5255c91313f01a5bcdb
This commit is contained in:
Sameer Agarwal
2018-04-09 10:32:32 -07:00
parent 5d8b494557
commit d0e06760ec
+2 -2
View File
@@ -193,9 +193,9 @@ def ceres_library(name,
defines = [
"CERES_NO_SUITESPARSE",
"CERES_NO_CXSPARSE",
"CERES_NO_THREADS",
"CERES_NO_LAPACK",
"CERES_STD_UNORDERED_MAP",
"CERES_USE_EIGEN_SPARSE",
"CERES_USE_CXX11_THREADS",
"CERES_GFLAGS_NAMESPACE=" + gflags_namespace,
],
includes = [