Revision: 4455
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4455&view=rev
Author:   ossman_
Date:     2011-05-27 11:50:58 +0000 (Fri, 27 May 2011)

Log Message:
-----------
Make use of GnuTLS an explicit choice to avoid surprises if it gets included
or not.

Modified Paths:
--------------
    trunk/CMakeLists.txt

Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt        2011-05-26 15:39:41 UTC (rev 4454)
+++ trunk/CMakeLists.txt        2011-05-27 11:50:58 UTC (rev 4455)
@@ -208,8 +208,10 @@
 endif()
 
 # Check for GNUTLS library
-find_package(GnuTLS)
-if(GNUTLS_FOUND)
+option(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication")
+if(ENABLE_GNUTLS)
+  find_package(GnuTLS REQUIRED)
+
   include_directories(${GNUTLS_INCLUDE_DIR})
   add_definitions("-DHAVE_GNUTLS")
   add_definitions(${GNUTLS_DEFINITIONS})


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to