mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-05 05:45:37 +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
1 changed files with 1 additions and 1 deletions
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…
Reference in a new issue