Skip to content

Commit

Permalink
Disable benchmark code by default
Browse files Browse the repository at this point in the history
Requires C++23 zip; not avail on mac or coverage
  • Loading branch information
pratzl committed Aug 15, 2024
1 parent 0ef1181 commit fbc0d8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ option(BUILD_SHARED_LIBS "Enable compilation of shared libraries" OFF)
option(ENABLE_TESTING "Enable Test Builds" ON)
option(ENABLE_FUZZING "Enable Fuzzing Builds" OFF)
option(ENABLE_EXAMPLES "Enable Example Builds" ON)
option(ENABLE_BENCHMARKING "Enable Benchmark Builds" ON)
option(ENABLE_BENCHMARKING "Enable Benchmark Builds" OFF)

# Very basic PCH example
option(ENABLE_PCH "Enable Precompiled Headers" OFF)
Expand Down Expand Up @@ -116,7 +116,7 @@ if(ENABLE_BENCHMARKING)
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
set(BENCHMARK_DATA_DIR "${CMAKE_SOURCE_DIR}/../data/")
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(BENCHMARK_DATA_DIR "/mnt/d/dev_graph/data/")
set(BENCHMARK_DATA_DIR "/mnt/c/dev_graph/data/")
endif()

add_subdirectory(benchmark)
Expand Down

0 comments on commit fbc0d8c

Please sign in to comment.