mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
8 lines
267 B
CMake
8 lines
267 B
CMake
|
|
if (ENABLE_BENCHMARK)
|
|
message("* benchmark")
|
|
set(BENCHMARK_ENABLE_TESTING OFF)
|
|
|
|
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/../lib/google-benchmark/" "${CMAKE_CURRENT_BINARY_DIR}/lib/google-benchmark" EXCLUDE_FROM_ALL)
|
|
set_compile_flags(benchmark 0)
|
|
endif()
|