Update bazel build to use scip-related headers only when scip is used.

This commit is contained in:
Corentin Le Molgat
2024-02-22 11:54:26 +01:00
parent 5d771cc919
commit e767aee6f4

View File

@@ -214,11 +214,15 @@ cc_library(
"linear_expr.h",
"linear_solver.h",
"linear_solver_callback.h",
"scip_callback.h",
"scip_helper_macros.h",
] + select({
":use_glop": ["glop_utils.h"],
"//conditions:default": [],
}) + select({
":use_scip": [
"scip_callback.h",
"scip_helper_macros.h",
],
"//conditions:default": [],
}),
copts = [] + select({
":use_bop": ["-DUSE_BOP"],