You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Mario Emmenlauer (JIRA)" <ji...@apache.org> on 2019/01/24 13:41:00 UTC

[jira] [Created] (THRIFT-4752) Add cmake package configuration support?

Mario Emmenlauer created THRIFT-4752:
----------------------------------------

             Summary: Add cmake package configuration support?
                 Key: THRIFT-4752
                 URL: https://issues.apache.org/jira/browse/THRIFT-4752
             Project: Thrift
          Issue Type: Improvement
          Components: Deployment
    Affects Versions: 1.0
            Reporter: Mario Emmenlauer


The thrift build with cmake is really great. There is only a minor issue left, that downstream packages have to have a FindThrift.cmake script to correctly find and use the library and compiler.

Modern cmake suggests as a better solution the use of package configuration files (see [https://cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html#package-configuration-file).] Thanks to package configuration, all users of thrift can just find_package(thrift) and use the library and compiler without further work. Transitive package dependencies are also resolved.

I have created a package configuration for thrift cmake build. Could this be considered for inclusion?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)