Finally it works… In the first CMakeList.txt I had to add the following line ![]()
target_link_libraries(Read_spill PUBLIC ${ROOT_LIBRARIES} ROOT::Spectrum ${edepsim_io})
instead of single i had to write Read_spill…
Thank you very much for your help.
Finally it works… In the first CMakeList.txt I had to add the following line ![]()
target_link_libraries(Read_spill PUBLIC ${ROOT_LIBRARIES} ROOT::Spectrum ${edepsim_io})
instead of single i had to write Read_spill…
Thank you very much for your help.
Right, just as in the code I posted ![]()
And you’re very welcome!