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:
commit
2bd99867fe
2
extern/CMakeLists.txt
vendored
2
extern/CMakeLists.txt
vendored
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user