diff --git a/benchmarking.cmake b/benchmarking.cmake index 0f1f3dc..c165fe4 100644 --- a/benchmarking.cmake +++ b/benchmarking.cmake @@ -117,6 +117,7 @@ function(ctbench_add_graph category config) add_custom_target( ${category} COMMAND grapher-plot --output=${category} --config=${config_path} ${ARGN} - DEPENDS ${config_path} ${ARGN}) + DEPENDS ${config_path} ${ARGN} + WORKING_DIRECTORY ${CMAKE_BINARY_DIR}) add_dependencies(ctbench-graph-all ${category}) endfunction(ctbench_add_graph)