diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2020-08-09 21:10:16 -0700 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2020-08-09 21:10:16 -0700 |
commit | c6d389dab4bcdb61ed1a3d9d0500f8d6feca1ecf (patch) | |
tree | 2f65fc3e2f83d33cc18f6fe5cb960dcd46680be3 /BUILD | |
parent | 6f3760672a0d2c772306e737d894a2ae2d8c5f58 (diff) | |
download | google-fruit-c6d389dab4bcdb61ed1a3d9d0500f8d6feca1ecf.tar.gz |
Fix bazel build errors introduced by 94cefefb42f3685c1d64664e6aa9cbaf834b25ee when the Fruit headers are not also installed on the system where bazel runs.
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7,7 +7,7 @@ filegroup( srcs = glob([ "include/**/*.h", ]) + [ - "//third_party/fruit/configuration/bazel:fruit_config", + "//third_party/fruit/configuration/bazel:fruit-config-base", ], ) @@ -16,11 +16,12 @@ cc_library( srcs = glob([ "src/*.cpp", "include/fruit/impl/**/*.h", - ]) + ["//third_party/fruit/configuration/bazel:fruit_config"], + ]), hdrs = glob(["include/fruit/*.h"]), includes = ["include", "configuration/bazel"], deps = [ "@boost//:unordered", + "//third_party/fruit/configuration/bazel:fruit-config-base", ], linkopts = ["-lm"], ) |