Commit Graph

1 Commits

Author SHA1 Message Date
Neal Gompa 1090667fc1 cmake: Set up project and library versioning and install pkgconfig files
Since we're using a modern version of CMake (version 3.0+), we can
set the version as part of the project properties.

As part of doing so, the new project version setting is propagated
down to the TDNF library build targets, so that the version and
soversion are based on the project version.

Additionally, we can now have a useful fallback value for the
BuildMetaData CMake function so that builds from release tarballs
will not have broken version information.

Finally, we use these changes as part of restoring the pkgconfig
files so that they are configured and installed properly with the
correct values.

Signed-off-by: Neal Gompa <ngompa13@gmail.com>
2020-01-02 17:14:12 -05:00