Skip to content

Commit

Permalink
Fix build with Bazel@HEAD
Browse files Browse the repository at this point in the history
With WORKSPACE being disabled at HEAD, all dependencies must be specified in MODULE.bazel

Fixing #1127
  • Loading branch information
meteorcloudy authored Sep 13, 2024
1 parent b3b9eb9 commit 5606652
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ module(

bazel_dep(name = "gflags", version = "2.2.2")
bazel_dep(name = "googletest", version = "1.14.0", dev_dependency = True)
bazel_dep(name = "platforms", version = "0.0.10")

# Required for Windows clang-cl build: --extra_toolchains=@local_config_cc//:cc-toolchain-arm64_windows
cc_configure = use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension")
use_repo(cc_configure, "local_config_cc")

0 comments on commit 5606652

Please sign in to comment.