bbf: Stop compilation if there is no ssl library specified by default

This commit is contained in:
Amin Ben Ramdhane 2022-06-08 13:29:55 +01:00
parent 2c96216d8f
commit 3c981d6b18

View file

@ -30,6 +30,10 @@ SET(BBF_DM_SOURCES dmentry.c
dmdiagnostics.c
dmbbfcommon.c)
IF(NOT WITH_WOLFSSL AND NOT WITH_OPENSSL AND NOT WITH_MBEDTLS)
MESSAGE(FATAL_ERROR "You must enable one of the SSL libraries: {'WOLFSSL','OPENSSL','MBEDTLS'}")
ENDIF()
IF(BBF_TR181)
SET(BBF_TR181_SOURCES dmtree/tr181/device.c
dmtree/tr181/deviceinfo.c