Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9351

Refactor the "_ROOT_DIR" logic into FindPackageHelper for CMake.

    XMLWordPrintableJSON

Details

    • 2

    Description

      The unbundled libevent build has a TODO that recommends moving the logic for determining the root-dir of a package into our FindPackageHelper.
      See https://github.com/apache/mesos/blob/ba0f78112b766e2a1d6e43c40d7fb2f7569c2580/3rdparty/cmake/FindLIBEVENT.cmake#L20-L40

      That logic is pretty neat for e.g. homebrew users as it makes use of the installation prefix information gathered from the brew tool.

      Instead of copy&pasting the same thing over and over into respective FindLIBxxx.cmake packages, we should move it up into FindPackageHelper.cmake.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tillt Till Toenshoff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: