aboutsummaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2020-06-13 18:14:11 -0700
committerMarco Poletti <poletti.marco@gmail.com>2020-06-13 18:14:11 -0700
commitfaa69229324e7b0393e2196b9fb919e5056dc675 (patch)
tree832a493ad510c5249511f5cddd9d6d57482c742e /BUILD
parent45fa33d27da5a9b21471094f34e7f26c21e71f5b (diff)
downloadgoogle-fruit-faa69229324e7b0393e2196b9fb919e5056dc675.tar.gz
Declare the dep on boost in bazel, so that Fruit builds even on systems where Boost isn't installed. This required some refactoring of the testing code, since we can't depend on the Boost headers as a fileset (that we'd need) so generated code in tests can't include Boost anymore.
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/BUILD b/BUILD
index 463ddc9..7d781ee 100644
--- a/BUILD
+++ b/BUILD
@@ -18,6 +18,8 @@ cc_library(
"configuration/bazel/**/*.h"]),
hdrs = glob(["include/fruit/*.h"]),
includes = ["include", "configuration/bazel"],
- deps = [],
+ deps = [
+ "@boost//:unordered",
+ ],
linkopts = ["-lm"],
)