We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b6a918 + 9a4b561 commit 9b840aaCopy full SHA for 9b840aa
misc/bazel/cmake/cmake.bzl
@@ -49,7 +49,7 @@ def _get_includes(includes):
49
return [_cmake_path(i) for i in includes.to_list() if "/_virtual_includes/" not in i]
50
51
def _cmake_aspect_impl(target, ctx):
52
- if not ctx.rule.kind.startswith("cc_"):
+ if not ctx.rule.kind.startswith(("cc_", "_cc_add_features")):
53
return [CmakeInfo(name = None, transitive_deps = depset())]
54
55
# TODO: remove cc_binary_add_features once we remove it from internal repo
0 commit comments