]> source.dussan.org Git - tigervnc.git/commit
Fixes problems with cmake detection of GnuTLS. The current CMakeLists.txt uses check...
authorBrian Hinz <bphinz@users.sourceforge.net>
Wed, 19 Feb 2014 05:19:37 +0000 (05:19 +0000)
committerBrian Hinz <bphinz@users.sourceforge.net>
Wed, 19 Feb 2014 05:19:37 +0000 (05:19 +0000)
commit236b019980eb6e3eeb847705c4cbd795afc873b0
treea67d62c40ce05527b4e1c6a44c394fbcdcf4e4fb
parent65c9858dbc4637324131109c991d07b43d5cca4d
Fixes problems with cmake detection of GnuTLS.  The current CMakeLists.txt uses check_function_exists to identify legacy versions of GnuTLS but cmake performs this test by linking a small test program.  If libgnutls, libgcrypt, or libgpg-error are outside the default library search path, linking the test program fails even though gnutls and it's dependencies are installed.  This patch makes it possible to specify the location of each of the three libraries independently and only as needed.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5160 3789f03b-4d11-0410-bbf8-ca57d06f2519
CMakeLists.txt
cmake/Modules/FindGcrypt.cmake [new file with mode: 0644]
cmake/Modules/FindGpg_Error.cmake [new file with mode: 0644]