TrigEFMissingET CMake Fixes, main branch (2024.03.20.)
This is to undo a mistake introduced in !69806 (merged), and to fix another issue that was present in the code for even longer.
- Since the shared library still needs ROOT, it has to be found explicitly by the code.
- To make sure that the component library would see the LWTNN headers reliably,
${LWTNN_INCLUDE_DIRS}
also needs to be used.
The reason I noticed these mistakes is because of the "serious warnings" in the latest nightlies.
https://bigpanda.cern.ch/nview/?nightly=main_Athena_x86_64-el9-gcc13-opt
Something that the shifters should've really picked up on...