1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-18 13:12:50 +00:00

Merge branch 'benchmark' into 'master'

cmake: only download benchmarks if we build with it

See merge request OpenMW/openmw!1616
This commit is contained in:
elsid 2022-01-31 00:23:03 +00:00
commit 2bd99867fe

View File

@ -211,7 +211,7 @@ endif()
add_subdirectory(smhasher)
if (NOT OPENMW_USE_SYSTEM_BENCHMARK)
if (BUILD_BENCHMARKS AND NOT OPENMW_USE_SYSTEM_BENCHMARK)
cmake_minimum_required(VERSION 3.11)
set(BENCHMARK_ENABLE_TESTING OFF)