From 677ea5971db77ec9c24eaac151f2a636217f3198 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Wed, 16 Apr 2014 09:53:02 +0200 Subject: [PATCH] fix: build error while running client/X11/generate_argument_docbook Author: Viacheslav Dubrovsk Bug: https://github.com/FreeRDP/FreeRDP/issues/1481 Signed-off-by: Philippe Coval --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2d65fece2..dd0f4c5b4 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -492,6 +492,10 @@ add_definitions("-DHAVE_CONFIG_H") configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h) # RPATH configuration +if(CMAKE_SKIP_RPATH) + set(CMAKE_SKIP_RPATH FALSE) + set(CMAKE_SKIP_INSTALL_RPATH TRUE) +endif() set(CMAKE_SKIP_BUILD_RPATH FALSE) set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)