Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | From 253eafc8c8da83fc2b1a99a9e43824efc6105c7a Mon Sep 17 00:00:00 2001 |
| 2 | From: Manuel Bachmann <manuel.bachmann@iot.bzh> |
| 3 | Date: Sun, 4 Oct 2015 10:44:49 +0200 |
| 4 | Subject: [PATCH] winpr-makecert: Build with install RPATH |
| 5 | |
| 6 | As we are installing "winpr-makecert" manually, we do want |
| 7 | to refer to the library in DESTDIR, not the one resting in |
| 8 | the build tree. |
| 9 | |
| 10 | Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh> |
| 11 | --- |
| 12 | winpr/tools/makecert/cli/CMakeLists.txt | 4 ++++ |
| 13 | 1 file changed, 4 insertions(+) |
| 14 | |
| 15 | diff --git a/winpr/tools/makecert/cli/CMakeLists.txt b/winpr/tools/makecert/cli/CMakeLists.txt |
| 16 | index 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 | -- |
| 30 | 1.8.3.1 |
| 31 | |