diff --git a/benchmarks/CMakeLists.txt b/benchmarks/CMakeLists.txt index 7f6c698..377ca46 100644 --- a/benchmarks/CMakeLists.txt +++ b/benchmarks/CMakeLists.txt @@ -1,15 +1,15 @@ if (NOT DEFINED ENV{ALP_DATASET_DIR_PATH}) message(WARNING "Set ALP_DATASET_DIR_PATH environment variable") else () + add_subdirectory(bench_speed) -endif () -add_subdirectory(bench_speed) + add_executable(bench_alp_compression_ratio bench_compression_ratio.cpp) + target_link_libraries(bench_alp_compression_ratio PUBLIC ALP gtest_main) + gtest_discover_tests(bench_alp_compression_ratio) +endif () -add_executable(bench_alp_compression_ratio bench_compression_ratio.cpp) -target_link_libraries(bench_alp_compression_ratio PUBLIC ALP gtest_main) -gtest_discover_tests(bench_alp_compression_ratio)