cpp, qt: Handle modified includedir installation
authorAndre Heinecke <aheinecke@intevation.de>
Thu, 29 Sep 2016 10:46:18 +0000 (12:46 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Thu, 29 Sep 2016 10:46:18 +0000 (12:46 +0200)
commit7302791c0d308c3284ac24a743035d27a0c0b6ba
treebeca02c1fb6519901c788e59e4fe4cf31b9f24de
parenta6e9eefb23e57e14afaead5c896452360bdaeb6f
cpp, qt: Handle modified includedir installation

* lang/cpp/src/Makefile.am,
lang/qt/src/Makefile.am: Replace resolved_includedir.
* lang/cpp/src/GpgmeppConfig.cmake.in.in,
lang/qt/src/QGpgmeConfig.cmake.in.in: Use resolved_includedir
instead of relying on a common installation prefix.

--
This fixes usage of the config files in case gpgme
is configured with a custom --includedir.
We have to do the replacement manually like for libdir
because configure would include variables in the replacement.
lang/cpp/src/GpgmeppConfig.cmake.in.in
lang/cpp/src/Makefile.am
lang/qt/src/Makefile.am
lang/qt/src/QGpgmeConfig.cmake.in.in