File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1- # Copyright 2019-2020 CERN and copyright holders of ALICE O2.
1+ # Copyright 2019-2026 CERN and copyright holders of ALICE O2.
22# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
33# All rights not expressly granted are reserved.
44#
@@ -27,8 +27,7 @@ include_guard()
2727#
2828
2929function (o2physics_add_dpl_workflow baseTargetName)
30-
31- cmake_parse_arguments (PARSE_ARGV 1 A "" "COMPONENT_NAME;TARGETVARNAME"
30+ cmake_parse_arguments (PARSE_ARGV 1 A "" "COMPONENT_NAME;TARGETVARNAME;REUSE_FROM"
3231 "SOURCES;PUBLIC_LINK_LIBRARIES" )
3332
3433 if (A_UNPARSED_ARGUMENTS)
@@ -48,6 +47,10 @@ function(o2physics_add_dpl_workflow baseTargetName)
4847 set_property (TARGET ${targetExeName} PROPERTY JOB_POOL_COMPILE analysis)
4948 set_property (TARGET ${targetExeName} PROPERTY JOB_POOL_LINK analysis)
5049
50+ if (A_REUSE_FROM)
51+ target_precompile_headers(${targetExeName} REUSE_FROM ${A_REUSE_FROM} )
52+ endif ()
53+
5154 set (jsonFile $<TARGET_FILE_BASE_NAME:${targetExeName} >.json)
5255
5356 add_custom_command (
You can’t perform that action at this time.
0 commit comments