mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2026-01-02 03:57:55 +08:00
fix(bazel): add missing load statements
Bazel 9 drops builtin `cc_*` rules, they need to be loaded explicitly now.
This commit is contained in:
committed by
Jesse Beder
parent
5cf25533e3
commit
3738976bdc
@@ -1,3 +1,5 @@
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
|
||||
yaml_cpp_defines = select({
|
||||
# On Windows, ensure static linking is used.
|
||||
"@platforms//os:windows": ["YAML_CPP_STATIC_DEFINE", "YAML_CPP_NO_CONTRIB"],
|
||||
|
||||
Reference in New Issue
Block a user