Skip to content

Commit

Permalink
Exclude gbenchmark tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fsaintjacques committed Jan 29, 2020
1 parent b571381 commit d9b431f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/cmake/GoogleBenchmark.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
configure_file(tests/BenchmarkCMakeLists.txt.in googlebenchmark-download/CMakeLists.txt)

set(BENCHMARK_ENABLE_TESTING OFF)
set(BENCHMARK_ENABLE_GTEST_TESTS OFF)
set(EXTRA_ARGS "-DBENCHMARK_ENABLE_TESTING=${BENCHMARK_ENABLE_TESTING}")

execute_process(COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" .
execute_process(COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" ${EXTRA_ARGS} .
RESULT_VARIABLE result
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/googlebenchmark-download )
if(result)
Expand Down

0 comments on commit d9b431f

Please sign in to comment.