diff --git a/CMakeLists.txt b/CMakeLists.txt index 2968cd5a..65f38573 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ set(CMAKE_CXX_EXTENSIONS OFF) # Establish project ############################################################## -project(sketches VERSION 0.1 LANGUAGES C CXX) +project(Loki VERSION 0.1 LANGUAGES C CXX) # Compilation flags, some configuration-specific set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -Wextra -pedantic -fPIC") @@ -33,6 +33,8 @@ if (ENABLE_TESTING) else() message("Testing disabled.") endif() + +option(ENABLE_BENCHMARKING "Enables compilation of tests." OFF) if (ENABLE_BENCHMARKING) message("Benchmarking enabled.") else() diff --git a/benchmarks/CMakeLists.txt b/benchmarks/CMakeLists.txt index 793f03c9..c95c417c 100644 --- a/benchmarks/CMakeLists.txt +++ b/benchmarks/CMakeLists.txt @@ -7,6 +7,7 @@ FetchContent_Declare( ) # Make Google Benchmark available +set(BENCHMARK_DOWNLOAD_DEPENDENCIES ON) FetchContent_MakeAvailable(googlebenchmark) # Now declare your executable