diff --git a/cmake/benchmarking.cmake b/cmake/benchmarking.cmake index 17ce23f..05e417e 100644 --- a/cmake/benchmarking.cmake +++ b/cmake/benchmarking.cmake @@ -180,7 +180,7 @@ function(ctbench_add_graph category config) add_dependencies(ctbench-graph-all ${category}) if(NOT ctbench_FOUND) - add_dependencies(${target_name} ctbench-grapher-plot) + add_dependencies(${category} ctbench-grapher-plot) endif() endfunction(ctbench_add_graph)