diff --git a/ddprof-lib/benchmarks/build.gradle b/ddprof-lib/benchmarks/build.gradle index c6bd1db5c..fd3ded88a 100644 --- a/ddprof-lib/benchmarks/build.gradle +++ b/ddprof-lib/benchmarks/build.gradle @@ -17,7 +17,10 @@ application { // Include the main library headers tasks.withType(CppCompile).configureEach { + dependsOn ':ddprof-lib:copyUpstreamFiles' + includes file('../src/main/cpp').toString() + includes file('../src/main/cpp-external').toString() } // Add a task to run the benchmark