Skip to content

Commit

Permalink
Add missing eigen3.hh header for bazel build (#585)
Browse files Browse the repository at this point in the history
Signed-off-by: Shameek Ganguly <[email protected]>
  • Loading branch information
shameekganguly authored Apr 1, 2024
1 parent 91c73b9 commit 5bf896f
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions eigen3/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
load(
"@gz//bazel/skylark:build_defs.bzl",
"GZ_FEATURES",
"GZ_ROOT",
"GZ_VISIBILITY",
"gz_configure_header",
"gz_export_header",
"gz_include_header",
)

package(default_applicable_licenses = [GZ_ROOT + "math:license"])

public_headers = glob([
"include/gz/math/eigen3/*.hh",
])

gz_include_header(
name = "eigen3_hh_genrule",
out = "include/gz/math/eigen3.hh",
hdrs = public_headers,
)

cc_library(
name = "eigen3",
srcs = public_headers,
hdrs = public_headers,
hdrs = public_headers + [
"include/gz/math/eigen3.hh",
],
includes = ["include"],
visibility = GZ_VISIBILITY,
deps = [
Expand Down

0 comments on commit 5bf896f

Please sign in to comment.