The one that exists now is out of date, and doesn't work when compiling with ROOT6. L339 (https://github.com/ara-software/AraRoot/blob/master/cmake/Modules/FindROOT.cmake#L339) seems to incorrectly reset the LD_LIBRARY_PATH variable, and this results in AraRoot being compiled with a different version of gcc relative to one of it's core dependencies, root, which causes the build to break. The soulution seems to be to go from:
COMMAND LD_LIBRARY_PATH=${ROOT_LIBRARY_DIR} ROOTSYS=${ROOTSYS} ${ROOT_CINT_EXECUTABLE}
to
COMMAND ROOTSYS=${ROOTSYS} ${ROOT_CINT_EXECUTABLE}
The one that exists now is out of date, and doesn't work when compiling with ROOT6. L339 (https://github.com/ara-software/AraRoot/blob/master/cmake/Modules/FindROOT.cmake#L339) seems to incorrectly reset the
LD_LIBRARY_PATHvariable, and this results in AraRoot being compiled with a different version of gcc relative to one of it's core dependencies, root, which causes the build to break. The soulution seems to be to go from:COMMAND LD_LIBRARY_PATH=${ROOT_LIBRARY_DIR} ROOTSYS=${ROOTSYS} ${ROOT_CINT_EXECUTABLE}to
COMMAND ROOTSYS=${ROOTSYS} ${ROOT_CINT_EXECUTABLE}