blob: d279d6d914204fd6eeb956c4cd152768469fb3ac [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From 253eafc8c8da83fc2b1a99a9e43824efc6105c7a Mon Sep 17 00:00:00 2001
2From: Manuel Bachmann <manuel.bachmann@iot.bzh>
3Date: Sun, 4 Oct 2015 10:44:49 +0200
4Subject: [PATCH] winpr-makecert: Build with install RPATH
5
6As we are installing "winpr-makecert" manually, we do want
7to refer to the library in DESTDIR, not the one resting in
8the build tree.
9
10Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
11---
12 winpr/tools/makecert/cli/CMakeLists.txt | 4 ++++
13 1 file changed, 4 insertions(+)
14
15diff --git a/winpr/tools/makecert/cli/CMakeLists.txt b/winpr/tools/makecert/cli/CMakeLists.txt
16index 17954c4..90c446b 100644
17--- a/winpr/tools/makecert/cli/CMakeLists.txt
18+++ b/winpr/tools/makecert/cli/CMakeLists.txt
19@@ -45,5 +45,9 @@ set(${MODULE_PREFIX}_LIBS winpr-makecert-tool)
20
21 target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS})
22
23+set_target_properties(${MODULE_NAME} PROPERTIES
24+ BUILD_WITH_INSTALL_RPATH 1)
25+
26 set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR/Tools")
27
28+
29--
301.8.3.1
31