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 88b978f + cff78cc commit 0173cf5Copy full SHA for 0173cf5
misc/bazel/cmake/setup.cmake
@@ -42,7 +42,7 @@ endmacro()
42
macro(generate_and_include)
43
file(REMOVE "${BAZEL_WORKSPACE}/.bazel-cmake/BUILD.bazel")
44
# use aquery to only get targets compatible with the current platform
45
- bazel_even_if_failing(aquery "kind(\"cc_test|cc_binary\", ${ARGN})" ${BAZEL_BUILD_OPTIONS} --output=jsonproto OUTPUT_VARIABLE BAZEL_AQUERY_RESULT)
+ bazel_even_if_failing(aquery "kind(\"cc_test|cc_binary\",${ARGN})" ${BAZEL_BUILD_OPTIONS} --output=jsonproto OUTPUT_VARIABLE BAZEL_AQUERY_RESULT)
46
string(JSON BAZEL_JSON_TARGETS GET "${BAZEL_AQUERY_RESULT}" targets)
47
string(JSON LAST_IDX LENGTH "${BAZEL_JSON_TARGETS}")
48
math(EXPR LAST_IDX "${LAST_IDX} - 1")
0 commit comments