Skip to content

FindROOT.cmake needs to be updated #12

Description

@clark2668

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions