From 239cd9212e880865767492f4048d3c233aabc4cf Mon Sep 17 00:00:00 2001 From: akallabeth Date: Thu, 11 May 2023 16:30:55 +0200 Subject: [PATCH] [channels] fix static linking of common libraries --- channels/rdpsnd/common/CMakeLists.txt | 4 +++- channels/urbdrc/common/CMakeLists.txt | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/channels/rdpsnd/common/CMakeLists.txt b/channels/rdpsnd/common/CMakeLists.txt index 06647c34c..763cb71ab 100644 --- a/channels/rdpsnd/common/CMakeLists.txt +++ b/channels/rdpsnd/common/CMakeLists.txt @@ -21,5 +21,7 @@ set(SRCS rdpsnd_common.c) # Library currently header only -add_library(rdpsnd-common OBJECT ${SRCS}) +add_library(rdpsnd-common STATIC ${SRCS}) + +channel_install(rdpsnd-common ${FREERDP_ADDIN_PATH} "FreeRDPTargets") diff --git a/channels/urbdrc/common/CMakeLists.txt b/channels/urbdrc/common/CMakeLists.txt index 5fba55c0c..df9a8a920 100644 --- a/channels/urbdrc/common/CMakeLists.txt +++ b/channels/urbdrc/common/CMakeLists.txt @@ -25,3 +25,5 @@ set(SRCS add_library(urbdrc-common STATIC ${SRCS}) +channel_install(urbdrc-common ${FREERDP_ADDIN_PATH} "FreeRDPTargets") +