Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5667

Make ThriftConfig.cmake relocatable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++ - Library
    • None

    Description

      The current ThriftConfig.cmake isn't relocatable. It means that we can't move ThriftConfig.cmake installed by make install.

      In general, users don't need to move ThriftConfig.cmake installed by make install but some packaging systems such as conda and MSYS2 needs to move. Because users of these packaging systems may use different prefix. For example, conda may be used with ~alice/my-conda and ~bob/conda as base directory.

      CMake has a feature to make Config.cmake relocatable: https://cmake.org/cmake/help/latest/module/CMakePackageConfigHelpers.html

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kou Kouhei Sutou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m