constraint_solver: rework zlib support

This commit is contained in:
Corentin Le Molgat
2025-10-15 10:58:11 +02:00
parent 5e06a6c7e2
commit ba9df47b38
2 changed files with 2 additions and 3 deletions

View File

@@ -227,6 +227,7 @@ cc_library(
"@abseil-cpp//absl/strings:str_format",
"@abseil-cpp//absl/time",
"@abseil-cpp//absl/types:span",
"@zlib",
],
)

View File

@@ -16,9 +16,6 @@
#include "ortools/constraint_solver/constraint_solver.h"
#include <zconf.h>
#include <zlib.h>
#include <algorithm>
#include <csetjmp>
#include <cstdint>
@@ -42,6 +39,7 @@
#include "ortools/base/timer.h"
#include "ortools/constraint_solver/constraint_solveri.h"
#include "ortools/util/tuple_set.h"
#include "zlib.h"
// These flags are used to set the fields in the DefaultSolverParameters proto.
ABSL_FLAG(bool, cp_trace_propagation, false,