diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2020-06-13 18:14:11 -0700 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2020-06-13 18:14:11 -0700 |
commit | faa69229324e7b0393e2196b9fb919e5056dc675 (patch) | |
tree | 832a493ad510c5249511f5cddd9d6d57482c742e /BUILD | |
parent | 45fa33d27da5a9b21471094f34e7f26c21e71f5b (diff) | |
download | google-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-- | BUILD | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -18,6 +18,8 @@ cc_library( "configuration/bazel/**/*.h"]), hdrs = glob(["include/fruit/*.h"]), includes = ["include", "configuration/bazel"], - deps = [], + deps = [ + "@boost//:unordered", + ], linkopts = ["-lm"], ) |