1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00

core: fix link with gcrypt lib in cmake (use var $GCRYPT_LDFLAGS instead of "gcrypt") (bug #37373)

This commit is contained in:
Sebastien Helleu
2012-09-17 16:01:05 +02:00
parent bfaed2bec6
commit a83007d118
3 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -34,9 +34,7 @@ IF(ZLIB_FOUND)
LIST(APPEND LINK_LIBS ${ZLIB_LIBRARY})
ENDIF(ZLIB_FOUND)
IF(GCRYPT_FOUND)
LIST(APPEND LINK_LIBS gcrypt)
ENDIF(GCRYPT_FOUND)
LIST(APPEND LINK_LIBS ${GCRYPT_LDFLAGS})
TARGET_LINK_LIBRARIES(script ${LINK_LIBS})