From 52deaeadddafb1d0b1d7290142e382e111dde480 Mon Sep 17 00:00:00 2001 From: Martin Fleisz Date: Mon, 4 Mar 2013 10:16:40 +0100 Subject: [PATCH] cmake: Fix for monolithic Android build --- libfreerdp/primitives/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libfreerdp/primitives/CMakeLists.txt b/libfreerdp/primitives/CMakeLists.txt index 656b6873c..e9ecd6cbb 100644 --- a/libfreerdp/primitives/CMakeLists.txt +++ b/libfreerdp/primitives/CMakeLists.txt @@ -82,8 +82,11 @@ if(IPP_FOUND) endforeach() endif() -set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} winpr-sysinfo) - +set_complex_link_libraries(VARIABLE ${MODULE_PREFIX}_LIBS + MONOLITHIC ${MONOLITHIC_BUILD} + MODULE winpr + MODULES winpr-sysinfo) + if(MONOLITHIC_BUILD) set(FREERDP_LIBS ${FREERDP_LIBS} ${${MODULE_PREFIX}_LIBS} PARENT_SCOPE) else()