Skip to content

Commit

Permalink
Do not start server just to check Bazel version from CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed Apr 3, 2018
1 parent eab760a commit e7a0190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/FindBazel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

find_program(Bazel_EXECUTABLE bazel)

execute_process(COMMAND "${Bazel_EXECUTABLE}" version
execute_process(COMMAND "${Bazel_EXECUTABLE}" --batch version
RESULT_VARIABLE _BAZEL_VERSION_EXECUTE_PROCESS_RESULT_VARIABLE
OUTPUT_VARIABLE _BAZEL_VERSION_EXECUTE_PROCESS_OUTPUT_VARIABLE
)
Expand Down

0 comments on commit e7a0190

Please sign in to comment.