[client,common] fix missing link of CJSON

This commit is contained in:
akallabeth 2023-07-20 08:54:19 +02:00 committed by akallabeth
parent 1d94ae9cc0
commit a9aba69567
2 changed files with 4 additions and 4 deletions

View File

@ -623,10 +623,6 @@ set(PCSC_FEATURE_TYPE "RECOMMENDED")
set(PCSC_FEATURE_PURPOSE "smart card") set(PCSC_FEATURE_PURPOSE "smart card")
set(PCSC_FEATURE_DESCRIPTION "smart card device redirection") set(PCSC_FEATURE_DESCRIPTION "smart card device redirection")
set(CJSON_FEATURE_TYPE "RECOMMENDED")
set(CJSON_FEATURE_PURPOSE "JSON")
set(CJSON_FEATURE_DESCRIPTION "Azure AD, RDS AAD authentication")
set(FFMPEG_FEATURE_TYPE "RECOMMENDED") set(FFMPEG_FEATURE_TYPE "RECOMMENDED")
set(FFMPEG_FEATURE_PURPOSE "multimedia") set(FFMPEG_FEATURE_PURPOSE "multimedia")
set(FFMPEG_FEATURE_DESCRIPTION "multimedia redirection, audio and video playback") set(FFMPEG_FEATURE_DESCRIPTION "multimedia redirection, audio and video playback")

View File

@ -97,6 +97,10 @@ endif()
list(APPEND LIBS freerdp winpr) list(APPEND LIBS freerdp winpr)
if(WITH_AAD)
list(APPEND LIBS ${CJSON_LIBRARIES})
endif()
target_link_libraries(${MODULE_NAME} PRIVATE ${FREERDP_CHANNELS_CLIENT_LIBS}) target_link_libraries(${MODULE_NAME} PRIVATE ${FREERDP_CHANNELS_CLIENT_LIBS})
target_link_libraries(${MODULE_NAME} PUBLIC ${LIBS}) target_link_libraries(${MODULE_NAME} PUBLIC ${LIBS})