Skip to content

Commit

Permalink
fix(bazel): specify dependencies in MODULE.bazel (#1131)
Browse files Browse the repository at this point in the history
With WORKSPACE disabled, all dependencies must be specified in MODULE.bazel.
  • Loading branch information
meteorcloudy authored Sep 14, 2024
1 parent b3b9eb9 commit be06647
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 be06647

Please sign in to comment.