Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7773

find_package(ROOT) should include a set of default libraries

    XMLWordPrintable

    Details

      Description

      The standard way to using ROOT in CMake projects is by calling find_package(). The actual list of libraries is controlled by the COMPONENTS keyword. For example:

      find_package(ROOT COMPONENTS Hist Tree RIO MathCore)

      Will set ROOT_LIBRARIES to full path for libHist.so libTree.so libRIO.so libMathCore.so. To facilitate the life of developers perhaps it would be convenient to define a default set of libraries if the COMPONENTS keyword is not used. The set of libraries should be equivalent to root-config --libs.

        Attachments

          Activity

            People

            • Assignee:
              mato Pere Mato Vila
              Reporter:
              ihrivnac Ivana Hrivnacova
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                PlannedEnd:
                PlannedStart:
                Actual End: