correct issue to build on buster

This commit is contained in:
AleaJactaEst 2019-10-03 19:05:01 +02:00
parent 9d00472f70
commit 05597bc8a2
2 changed files with 13 additions and 0 deletions

View file

@ -1285,6 +1285,7 @@ Linux client debian_amd64_buster build:
libfreetype6-dev libfreetype6-dev
libgif-dev libgif-dev
libgl1-mesa-dev libgl1-mesa-dev
libgnutls28-dev
libjpeg62-turbo-dev libjpeg62-turbo-dev
liblzma-dev liblzma-dev
libopenal-dev libopenal-dev
@ -1353,6 +1354,7 @@ Linux client_appimage debian_amd64_buster build:
libfreetype6-dev libfreetype6-dev
libgif-dev libgif-dev
libgl1-mesa-dev libgl1-mesa-dev
libgnutls28-dev
libjpeg62-turbo-dev libjpeg62-turbo-dev
liblzma-dev liblzma-dev
libopenal-dev libopenal-dev

View file

@ -4,6 +4,17 @@
# GNUTLS_FOUND, if false, do not try to link to JPEG # GNUTLS_FOUND, if false, do not try to link to JPEG
# GNUTLS_INCLUDE_DIR, where to find headers. # GNUTLS_INCLUDE_DIR, where to find headers.
IF(NOT UNIX)
MESSAGE(STATUS "Ignore gnutls: It's not Unix enviroment")
RETURN()
ENDIF()
GET_CMAKE_PROPERTY(_variableNames VARIABLES)
LIST (SORT _variableNames)
FOREACH (_variableName ${_variableNames})
MESSAGE(STATUS "${_variableName}=${${_variableName}}")
ENDFOREACH()
IF(GNUTLS_LIBRARY AND GNUTLS_INCLUDE_DIR) IF(GNUTLS_LIBRARY AND GNUTLS_INCLUDE_DIR)
# in cache already # in cache already
SET(GNUTLS_FIND_QUIETLY TRUE) SET(GNUTLS_FIND_QUIETLY TRUE)