set(LIBS_TO_LINK GenVector rt)
if (veccore)
  set(LIBS_TO_LINK ${LIBS_TO_LINK} ${VecCore_LIBRARIES})
endif()
ROOT_ADD_GBENCHMARK(GenVectorBenchmarks Cartesian3DBenchmarks.cxx LIBRARIES ${LIBS_TO_LINK})

ROOT_ADD_GBENCHMARK(GenVectorBenchmarks Cartesian3DBenchmarks.cxx LIBRARIES GenVector Vc rt)

Revert "Link to veccore libraries only if veccore is enabled."
Revert "Link to veccore libraries only if veccore is enabled."

This reverts commit 75b97ae27af57d25781371174451edfefcabf785.
