[cmake] fix SWScale library variable name

This commit is contained in:
akallabeth 2024-09-17 12:39:48 +02:00
parent 7f52be7d75
commit 618e02a65e
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ set(${MODULE_PREFIX}_SRCS
set(${MODULE_PREFIX}_LIBS
freerdp
winpr
${SWSCALE_LIBRARY}
${SWSCALE_LIBRARIES}
${FFMPEG_LIBRARIES}
)

View File

@ -148,7 +148,7 @@ endif(WITH_CAIRO)
# Prefer SWScale over Cairo, both at the same time are not possible.
if (WITH_SWSCALE)
include_directories(SYSTEM ${SWSCALE_INCLUDE_DIRS})
freerdp_library_add(${SWSCALE_LIBRARY})
freerdp_library_add(${SWSCALE_LIBRARIES})
endif()
if (WITH_CAIRO)
include_directories(SYSTEM ${CAIRO_INCLUDE_DIR})