From 7d03016ade4a51c2099bb765fd53875d9543dd25 Mon Sep 17 00:00:00 2001 From: Andrei Malashkin Date: Tue, 10 Dec 2024 09:55:33 +0100 Subject: [PATCH] optimize space --- proof-producer/tests/libs/output_artifacts/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/proof-producer/tests/libs/output_artifacts/CMakeLists.txt b/proof-producer/tests/libs/output_artifacts/CMakeLists.txt index d853330a1..aba3cad29 100644 --- a/proof-producer/tests/libs/output_artifacts/CMakeLists.txt +++ b/proof-producer/tests/libs/output_artifacts/CMakeLists.txt @@ -34,10 +34,14 @@ function(add_output_artifacts_test target) crypto3::common ) + message("Target is ${target}") + if (NOT target STREQUAL "test_range") + target_precompile_headers(${target}_single_thread REUSE_FROM test_range_single_thread) + endif() + target_precompile_headers(${target}_multi_thread REUSE_FROM test_range_single_thread) + add_dependencies(tests_output_artifacts_single_thread ${target}_single_thread) add_dependencies(tests_output_artifacts_multi_thread ${target}_multi_thread) - - target_precompile_headers(${target}_multi_thread REUSE_FROM ${target}_single_thread) endfunction() add_output_artifacts_test(test_range)