Commit Graph

3 Commits

Author SHA1 Message Date
Eugene Shalygin 5c533522cb cmake: make pkg-config package name independent of target name 2018-11-13 01:04:10 +01:00
Eugene Shalygin fccf25e839 cmake: strip directories and library prefixes for pkg-config
Replace full library names with -L commands and -llib-name pairs. This
way it resembles what autotools produce and additionally -l can not be
used with GNU linker and full paths (as it prepends "lib" to such
arguments).

Fixes #3424.
2018-11-12 09:07:16 +01:00
Eugene Shalygin ba294e6594 cmake: backport changes from the master branch
This fixes generated pkg-config file and adds options to build python
bindings.
2018-10-31 00:17:36 +01:00