From d82e1b8ecabb9eaa1f7f76ca0e8c97f63719f13a Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 8 Jan 2020 10:44:32 +0100 Subject: cmake: cleaning and set RPATH for binding Cleaning and set RPATH to find the low-can library Change-Id: I6e68a61bbeca385433028a716b9ac6d5e7f28769 Signed-off-by: Romain Forlot --- conf.d/cmake/config.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf.d/cmake') diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake index d7d5f43e..b1dec8c3 100644 --- a/conf.d/cmake/config.cmake +++ b/conf.d/cmake/config.cmake @@ -29,6 +29,8 @@ set(PROJECT_LICENSE "APL2.0") set(PROJECT_LANGUAGES "C;CXX") set(API_NAME "low-can") +set(INSTALL_RPATH "$ORIGIN") + # Where are stored the project configuration files # relative to the root project directory set(PROJECT_CMAKE_CONF_DIR "conf.d") -- cgit 1.2.3-korg