eic / EICrecon

EIC Reconstruction - JANA based
https://eic.github.io/EICrecon
GNU Lesser General Public License v3.0
5 stars 24 forks source link

ONNX functionality breaks downstream compilation; should propagate USE_ONNX #1514

Open wdconinc opened 2 weeks ago

wdconinc commented 2 weeks ago

This approach continues to break downstream compilation due to the use of the ONNX functionality in headers. We should promote USE_ONNX as a target compile definition attached to one of our installed targets or somehow propagate USE_ONNX through EICreconConfig.cmake. This is similar to the issue in JANA2 with HAVE_PODIO.

Originally posted by @wdconinc in https://github.com/eic/EICrecon/issues/1513#issuecomment-2184053029