From 9f300ec70aee006818365859161085748f01b7a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Mon, 13 Aug 2012 23:50:50 -0400 Subject: [PATCH] libfreerdp: add support for monolithic build --- libfreerdp/CMakeLists.txt | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/libfreerdp/CMakeLists.txt b/libfreerdp/CMakeLists.txt index a47c77cb7..dcbd0c36f 100644 --- a/libfreerdp/CMakeLists.txt +++ b/libfreerdp/CMakeLists.txt @@ -15,6 +15,10 @@ # See the License for the specific language governing permissions and # limitations under the License. +if(WITH_MONOLITHIC_BUILD) + set(CMAKE_POSITION_INDEPENDENT_CODE ON) +endif() + add_subdirectory(utils) add_subdirectory(gdi) add_subdirectory(rail) @@ -25,4 +29,15 @@ add_subdirectory(channels) add_subdirectory(locale) add_subdirectory(core) - +if(WITH_MONOLITHIC_BUILD) + add_library(freerdp + $ + $ + $ + $ + $ + $ + $ + $ + $) +endif()