mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 06:46:38 +02:00
script: remove unneeded test on ZLIB_FOUND in CMakeLists.txt (zlib is mandatory)
This commit is contained in:
@@ -30,10 +30,7 @@ SET_TARGET_PROPERTIES(script PROPERTIES PREFIX "")
|
||||
|
||||
SET (LINK_LIBS)
|
||||
|
||||
IF(ZLIB_FOUND)
|
||||
LIST(APPEND LINK_LIBS ${ZLIB_LIBRARY})
|
||||
ENDIF(ZLIB_FOUND)
|
||||
|
||||
LIST(APPEND LINK_LIBS ${ZLIB_LIBRARY})
|
||||
LIST(APPEND LINK_LIBS ${GCRYPT_LDFLAGS})
|
||||
|
||||
TARGET_LINK_LIBRARIES(script ${LINK_LIBS})
|
||||
|
||||
Reference in New Issue
Block a user