message: Fix lib dependency
diff: @@ -183,7 +183,11 @@ add_library_tested(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
  # Generate the ROOT map
  # Dependecies
  -set(LIBDEPS ANALYSISalice PWGflowTasks PWGTRD PWGPPevcharQn PWGPPevcharQnInterface TMVA vHFBDT ML)
  +set(LIBDEPS ANALYSISalice PWGflowTasks PWGTRD PWGPPevcharQn PWGPPevcharQnInterface TMVA vHFBDT)
  +# Dependencies for ROOT6 only
  +if(ROOT_VERSION_MAJOR EQUAL 6)
  + set(LIBDEPS ${LIBDEPS} ML)
  +endif()
  generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
  # Generate a PARfile target for this library
  