google benchmark compilation fix attempt

pull/18397/head
Bill Feng 6 years ago
parent d9fc63f42f
commit 7f96703710
  1. 3
      cmake/benchmark.cmake

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
set(BENCHMARK_ENABLE_GTEST_TESTS OFF)
if("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "module")
if(NOT BENCHMARK_ROOT_DIR)
set(BENCHMARK_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/benchmark)
@ -35,3 +37,4 @@ elseif("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "package")
endif()
set(_gRPC_FIND_BENCHMARK "if(NOT benchmark_FOUND)\n find_package(benchmark CONFIG)\nendif()")
endif()

Loading…
Cancel
Save