aboutsummaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2020-08-09 21:10:16 -0700
committerMarco Poletti <poletti.marco@gmail.com>2020-08-09 21:10:16 -0700
commitc6d389dab4bcdb61ed1a3d9d0500f8d6feca1ecf (patch)
tree2f65fc3e2f83d33cc18f6fe5cb960dcd46680be3 /BUILD
parent6f3760672a0d2c772306e737d894a2ae2d8c5f58 (diff)
downloadgoogle-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--BUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/BUILD b/BUILD
index 4c2aef5..d93719c 100644
--- a/BUILD
+++ b/BUILD
@@ -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"],
)