yaml-cpp
yaml-cpp copied to clipboard
BUILD file not found in directory '' of external repository @com_github_jbeder_yaml_cpp
trafficstars
I have build problem when I use bazel external dependency on yaml-cpp.
no such package '@com_github_jbeder_yaml_cpp//': BUILD file not found in directory '' of external repository @com_github_jbeder_yaml_cpp. Add a BUILD file to a directory to mark it as a package.
WORKSPACE
git_repository(
name = "com_github_jbeder_yaml_cpp",
remote = "https://github.com/yicm/yaml-cpp.git",
commit = "9a3624205e8774953ef18f57067b3426c1c5ada6",
)
BUILD
cc_library(
name = "config",
srcs = [
"config.cc"
],
deps = [
"@com_github_jbeder_yaml_cpp//:yaml-cpp"
]
)