From: DRC Date: Wed, 9 Mar 2011 02:20:26 +0000 (+0000) Subject: Include GnuTLS DLLs in the installer, because the DLLs are required when building... X-Git-Tag: v1.0.90~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=29f6dd93603128f09fafcf3ff5d099c910aefef8;p=tigervnc.git Include GnuTLS DLLs in the installer, because the DLLs are required when building TigerVNC's TLS support using Visual C++. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_1@4341 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 854f712d..a6f07049 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/win/tigervnc.iss.in b/win/tigervnc.iss.in index 2d967a45..18d1c329 100644 --- a/win/tigervnc.iss.in +++ b/win/tigervnc.iss.in @@ -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]