Home GnuPG

Avoid clashes of gpgme++ headers with other headers

Description

Avoid clashes of gpgme++ headers with other headers

* src/GpgmeppConfig-w32.cmake.in.in, src/GpgmeppConfig.cmake.in.in:
Don't put gpgme++ subfolder in interface include paths.

We put all gpgme++ headers into a subfolder for a reason. Adding this
subfolder to the include paths of library users could cause the
inclusion of a wrong header. We've been bitten by this ourselves in the
past.
This change is source incompatible for library users who include
gpgme++ headers without gpgme++/ prefix, but I think that's acceptable
because this change is in the best interest of library users as it
prevents unexpected and confusing errors.

Details

Provenance
ikloeckerAuthored on Dec 10 2024, 3:23 PM
Parents
rGPGMEPP31819fdb8b5f: Add files for building the project with autotools
Branches
Unknown
Tags
Unknown