Summary: Closes https://github.com/caffe2/caffe2/pull/1362

Differential Revision: D6115853

Pulled By: Yangqing

fbshipit-source-id: 581713e328f778fe916114f4f52d7089bc25bc3c
This commit is contained in:
Yangqing Jia
2017-10-20 15:37:15 -07:00
committed by Facebook Github Bot
parent 39729aa55c
commit ba1dba45f7
2 changed files with 3 additions and 4 deletions

View File

@ -128,9 +128,8 @@ if(BUILD_TEST)
# We will not need to test benchmark lib itself.
set(BENCHMARK_ENABLE_TESTING OFF)
# We will not need to install benchmark. This is pending
# https://github.com/google/benchmark/pull/463
set(INSTALL_BENCHMARK OFF)
# We will not need to install benchmark since we link it statically.
set(BENCHMARK_ENABLE_INSTALL OFF)
add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/benchmark)
caffe2_include_directories(${PROJECT_SOURCE_DIR}/third_party/benchmark/include)