mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 09:43:13 +02:00
core: make GnuTLS a required dependency
This commit is contained in:
@@ -63,8 +63,8 @@ find_library(GNUTLS_LIBRARY
|
||||
PATHS GNUTLS_POSSIBLE_LIB_DIR
|
||||
)
|
||||
|
||||
if(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
|
||||
set(GNUTLS_FOUND TRUE)
|
||||
if(NOT GNUTLS_INCLUDE_PATH OR NOT GNUTLS_LIBRARY)
|
||||
message(FATAL_ERROR "GnuTLS was not found")
|
||||
endif()
|
||||
|
||||
mark_as_advanced(
|
||||
|
||||
Reference in New Issue
Block a user