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:
@@ -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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user