git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1_1@4341
3789f03b-4d11-0410-bbf8-
ca57d06f2519
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
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]