CMake: Link against libgcrypt when it is found.
So far, libgcrypt was looked for but no targets linked against it directly; this caused linking problems for the client and server examples, as the symbols they needed were not passed to the linker. The issue that the GnuTLS websockets code uses libgcrypt regardless of whether it has been found or not has not been touched by this commit, though.
Showing
Please
register
or
sign in
to comment