]> source.dussan.org Git - tigervnc.git/commitdiff
Add in missing dependency for windows builds. 50/head
authorBrian P. Hinz <bphinz@users.sf.net>
Thu, 23 Oct 2014 02:57:06 +0000 (22:57 -0400)
committerBrian P. Hinz <bphinz@users.sf.net>
Thu, 23 Oct 2014 02:57:06 +0000 (22:57 -0400)
Commit f95272d created some undefined references in GnuTLS.

cmake/StaticBuild.cmake

index 4ef2905618fce461366bf3f2a04b8a18408675b5..5800a0789512dcf433fb5701491700affe4f68d4 100644 (file)
@@ -34,7 +34,7 @@ if(BUILD_STATIC)
     set(GNUTLS_LIBRARIES "-Wl,-Bstatic -lgnutls -ltasn1")
 
     if(NETTLE_LIBRARY)
-      set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -lnettle -lhogweed -lgmp")
+      set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -lnettle -lhogweed -lgmp -lcrypt32")
     endif()
     if(GCRYPT_LIBRARY)
       set(GNUTLS_LIBRARIES "${GNUTLS_LIBRARIES} -lgcrypt -lgpg-error")