Add additional include path in config files

* lang/cpp/src/GpgmeppConfig.cmake.in.in
 lang/qt/src/QGpgmeConfig.cmake.in.in: Include directory above headers.

--
This ensures that code using #inlcude <gpgme++/header.h> still works.
This commit is contained in:
Andre Heinecke 2016-04-02 09:14:10 -08:00
parent 576be46f34
commit 63c115b067
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
add_library(Gpgmepp SHARED IMPORTED) add_library(Gpgmepp SHARED IMPORTED)
set_target_properties(Gpgmepp PROPERTIES set_target_properties(Gpgmepp PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/gpgme++" INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include/gpgme++"
INTERFACE_LINK_LIBRARIES "@resolved_libdir@/libgpgme@libsuffix@;@LIBASSUAN_LIBS@;@GPG_ERROR_LIBS@" INTERFACE_LINK_LIBRARIES "@resolved_libdir@/libgpgme@libsuffix@;@LIBASSUAN_LIBS@;@GPG_ERROR_LIBS@"
IMPORTED_LOCATION "@resolved_libdir@/libgpgmepp@libsuffix@" IMPORTED_LOCATION "@resolved_libdir@/libgpgmepp@libsuffix@"
) )

View File

@ -68,7 +68,7 @@ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
add_library(QGpgme SHARED IMPORTED) add_library(QGpgme SHARED IMPORTED)
set_target_properties(QGpgme PROPERTIES set_target_properties(QGpgme PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/qgpgme" INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include/qgpgme"
INTERFACE_LINK_LIBRARIES "Gpgmepp;Qt5::Core" INTERFACE_LINK_LIBRARIES "Gpgmepp;Qt5::Core"
IMPORTED_LOCATION "@resolved_libdir@/libqgpgme@libsuffix@" IMPORTED_LOCATION "@resolved_libdir@/libqgpgme@libsuffix@"
) )