From b24de38c90da7890bd1bf258dec2058f4a66b5ef Mon Sep 17 00:00:00 2001 From: Henrik Pingel Date: Fri, 8 May 2020 10:46:44 +0200 Subject: Fix: library path issue --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 167f5515..b3d13a29 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -273,6 +273,7 @@ endif() include(GNUInstallDirs) if (BUILD_LIBRARY) + set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") add_library(libledger SHARED ${LEDGER_SOURCES}) add_ledger_library_dependencies(libledger) set_target_properties(libledger PROPERTIES -- cgit v1.2.3