Skip to content

Commit

Permalink
bazel: Fix OR_DLL integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Jan 27, 2025
1 parent e430b73 commit 09d97c1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions ortools/base/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,17 @@ cc_library(
],
)

cc_library(
name = "base_export",
hdrs = ["base_export.h"],
)

cc_library(
name = "macros",
hdrs = ["macros.h"],
deps = [
":base_export",
],
)

cc_library(
Expand Down
1 change: 1 addition & 0 deletions ortools/math_opt/core/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ cc_library(
name = "solver_debug",
srcs = ["solver_debug.cc"],
hdrs = ["solver_debug.h"],
deps = ["//ortools/base:base_export"],
)

cc_library(
Expand Down
2 changes: 1 addition & 1 deletion ortools/math_opt/core/solver_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <atomic>
#include <cstdint>

#include <ortools/base/base_export.h>
#include "ortools/base/base_export.h"

namespace operations_research {
namespace math_opt {
Expand Down

0 comments on commit 09d97c1

Please sign in to comment.