default WITH_AAD to cJSON_FOUND
This commit is contained in:
parent
822ba31c31
commit
6da1cc6987
@ -641,7 +641,8 @@ find_feature(MbedTLS ${MBEDTLS_FEATURE_TYPE} ${MBEDTLS_FEATURE_PURPOSE} ${MBEDTL
|
||||
|
||||
find_feature(PCSC ${PCSC_FEATURE_TYPE} ${PCSC_FEATURE_PURPOSE} ${PCSC_FEATURE_DESCRIPTION})
|
||||
|
||||
option(WITH_AAD "Compile with support for Azure AD authentication" ON)
|
||||
find_package(cJSON)
|
||||
option(WITH_AAD "Compile with support for Azure AD authentication" ${cJSON_FOUND})
|
||||
if (WITH_AAD)
|
||||
find_package(cJSON REQUIRED)
|
||||
include_directories(${CJSON_INCLUDE_DIRS})
|
||||
|
Loading…
Reference in New Issue
Block a user