From 258844e94814f776cd0aa58da0a564510913fcaf Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Fri, 8 Mar 2024 21:21:00 +0000 Subject: [PATCH] Missing dep Signed-off-by: Michael Carroll --- BUILD.bazel | 4 ++++ test/BUILD.bazel | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/BUILD.bazel b/BUILD.bazel index 830da067..f063381a 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -79,6 +79,10 @@ cc_library( srcs = sources + private_headers, hdrs = public_headers, includes = ["include"], + copts = [ + "-fexceptions", + "-Wno-unused-value", + ], deps = [ GZ_ROOT + "utils", GZ_ROOT + "math", diff --git a/test/BUILD.bazel b/test/BUILD.bazel index d62c70a6..b0c103bb 100644 --- a/test/BUILD.bazel +++ b/test/BUILD.bazel @@ -1,7 +1,17 @@ load( "@gz//bazel/skylark:build_defs.bzl", + "GZ_FEATURES", "GZ_ROOT", ) +load( + "@gz//bazel/lint:lint.bzl", + "add_lint_tests", +) + +package( + default_applicable_licenses = [GZ_ROOT + "common:license"], + features = GZ_FEATURES, +) cc_test( name = "INTEGRATION_console", @@ -35,8 +45,11 @@ cc_test( GZ_ROOT + "common", GZ_ROOT + "common/graphics", GZ_ROOT + "common/testing", + GZ_ROOT + "math", "@gtest//:gtest_main", ], ) exports_files(["data"]) + +add_lint_tests()