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})