diff --git a/CMakeLists.txt b/CMakeLists.txt index d1a2afa..df70557 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,6 @@ foreach( exefile ${EXE_FILES} ) add_executable( ${exename} ${exefile} ) target_link_libraries( ${exename} elSpectro) target_link_libraries( ${exename} jpacPhoto) - # target_link_libraries( ${exename} ${ROOT_LIBRARIES} -lRooFit -lMathMore -lEG -lGenVector) - target_link_libraries( ${exename} ROOT::Core ROOT::Rint ROOT::RIO ROOT::RooFit ROOT::MathMore ROOT::EG ROOT::GenVector ) + target_link_libraries( ${exename} ${ROOT_LIBRARIES} -lRooFit -lMathMore -lEG -lGenVector) + #target_link_libraries( ${exename} ROOT::Core ROOT::Rint ROOT::RIO ROOT::RooFit ROOT::MathMore ROOT::EG ROOT::GenVector ) endforeach( exefile ${EXE_FILES} )