From 618e02a65e6d370105f38fcf4bee061aab52e15e Mon Sep 17 00:00:00 2001 From: akallabeth Date: Tue, 17 Sep 2024 12:39:48 +0200 Subject: [PATCH] [cmake] fix SWScale library variable name --- channels/rdpecam/client/CMakeLists.txt | 2 +- libfreerdp/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/rdpecam/client/CMakeLists.txt b/channels/rdpecam/client/CMakeLists.txt index 61b211567..ce3438ff5 100644 --- a/channels/rdpecam/client/CMakeLists.txt +++ b/channels/rdpecam/client/CMakeLists.txt @@ -42,7 +42,7 @@ set(${MODULE_PREFIX}_SRCS set(${MODULE_PREFIX}_LIBS freerdp winpr - ${SWSCALE_LIBRARY} + ${SWSCALE_LIBRARIES} ${FFMPEG_LIBRARIES} ) diff --git a/libfreerdp/CMakeLists.txt b/libfreerdp/CMakeLists.txt index c8afe4b05..708784194 100644 --- a/libfreerdp/CMakeLists.txt +++ b/libfreerdp/CMakeLists.txt @@ -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})