efl/cmake
Gustavo Sverzut Barbieri 8de264f597 cmake: pkg-config can have version and needs HAVE/ENABLED defines.
pkg-config names can be encoded with a version requirement, such as
zlib>=1.2.3, thus we need to remove that from the variable.

with autotools we used HAVE_XXX and ENABLED_XXX to instruct such
optional library was present, then define that just for the user
target by adding that to its CFLAGS.

This allows us to remove some defines that matches the name, only
leave those that translate from original pkg-config name, such as
libsystemd->systemd.
2017-01-26 14:23:24 -02:00
..
config cmake: pkg-config can have version and needs HAVE/ENABLED defines. 2017-01-26 14:23:24 -02:00
helpers cmake: pkg-config can have version and needs HAVE/ENABLED defines. 2017-01-26 14:23:24 -02:00
post cmake: major rework of check and pkg-config dependencies. 2017-01-23 23:55:33 -02:00