mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 03:35:27 +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)
|
add_subdirectory(smhasher)
|
||||||
|
|
||||||
if (NOT OPENMW_USE_SYSTEM_BENCHMARK)
|
if (BUILD_BENCHMARKS AND NOT OPENMW_USE_SYSTEM_BENCHMARK)
|
||||||
cmake_minimum_required(VERSION 3.11)
|
cmake_minimum_required(VERSION 3.11)
|
||||||
|
|
||||||
set(BENCHMARK_ENABLE_TESTING OFF)
|
set(BENCHMARK_ENABLE_TESTING OFF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user