summaryrefslogtreecommitdiff
path: root/lib/jxl_benchmark.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jxl_benchmark.cmake')
-rw-r--r--lib/jxl_benchmark.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/jxl_benchmark.cmake b/lib/jxl_benchmark.cmake
index 4b20b40..f0535d7 100644
--- a/lib/jxl_benchmark.cmake
+++ b/lib/jxl_benchmark.cmake
@@ -9,6 +9,7 @@ set(JPEGXL_INTERNAL_SOURCES_GBENCH
extras/tone_mapping_gbench.cc
jxl/dec_external_image_gbench.cc
jxl/enc_external_image_gbench.cc
+ jxl/gauss_blur_gbench.cc
jxl/splines_gbench.cc
jxl/tf_gbench.cc
)
@@ -30,15 +31,14 @@ if(benchmark_FOUND)
# Compiles all the benchmark files into a single binary. Individual benchmarks
# can be run with --benchmark_filter.
- add_executable(jxl_gbench "${JPEGXL_INTERNAL_SOURCES_GBENCH}")
+ add_executable(jxl_gbench "${JPEGXL_INTERNAL_SOURCES_GBENCH}" gbench_main.cc)
target_compile_definitions(jxl_gbench PRIVATE
- -DTEST_DATA_PATH="${PROJECT_SOURCE_DIR}/third_party/testdata")
+ -DTEST_DATA_PATH="${JPEGXL_TEST_DATA_PATH}")
target_link_libraries(jxl_gbench
jxl_extras-static
jxl-static
benchmark::benchmark
- benchmark::benchmark_main
)
endif() # benchmark_FOUND