]> source.dussan.org Git - tigervnc.git/commitdiff
Include GnuTLS DLLs in the installer, because the DLLs are required when building...
authorDRC <dcommander@users.sourceforge.net>
Wed, 9 Mar 2011 02:20:26 +0000 (02:20 +0000)
committerDRC <dcommander@users.sourceforge.net>
Wed, 9 Mar 2011 02:20:26 +0000 (02:20 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_1@4341 3789f03b-4d11-0410-bbf8-ca57d06f2519

CMakeLists.txt
win/tigervnc.iss.in

index 854f712dc6a83ca13dbe1c148353bc21bf4483e9..a6f07049d1032c6d834c20bee62e17f2806376b7 100644 (file)
@@ -142,6 +142,10 @@ if(BUILD_WINVNC)
   set(INST_DEPS ${INST_DEPS} winvnc4 wm_hooks vncconfig)
 endif()
 
+if(GNUTLS_FOUND AND NOT GNUTLS_STATIC)
+  set(INST_DEFS ${INST_DEFS})
+endif()
+
 configure_file(win/tigervnc.iss.in tigervnc.iss)
 
 add_custom_target(installer
index 2d967a4523954c711b66f81d73c4f809c69ccf3e..18d1c329e0a404d711d51b5cc8892c27b0ddd08f 100644 (file)
@@ -27,6 +27,12 @@ Source: "@CMAKE_CURRENT_BINARY_DIR@\win\vncconfig\{#BUILD_DIR}vncconfig.exe"; De
 Source: "@CMAKE_CURRENT_BINARY_DIR@\win\vncviewer\{#BUILD_DIR}vncviewer.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace; 
 Source: "@CMAKE_SOURCE_DIR@\win\README_BINARY.txt"; DestDir: "{app}"; Flags: ignoreversion
 Source: "@CMAKE_SOURCE_DIR@\LICENCE.txt"; DestDir: "{app}"; Flags: ignoreversion
+#ifdef HAVE_GNUTLS
+Source: "@GNUTLS_INCLUDE_DIRS@\..\bin\libgnutls-*.dll"; DestDir: "{app}"; Flags: ignoreversion
+Source: "@GNUTLS_INCLUDE_DIRS@\..\bin\libgcrypt-*.dll"; DestDir: "{app}"; Flags: ignoreversion
+Source: "@GNUTLS_INCLUDE_DIRS@\..\bin\libtasn1-*.dll"; DestDir: "{app}"; Flags: ignoreversion
+Source: "@GNUTLS_INCLUDE_DIRS@\..\bin\libgpg-error-*.dll"; DestDir: "{app}"; Flags: ignoreversion
+#endif
 
 
 [Icons]