summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2020-01-08 10:44:32 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2020-01-09 15:53:58 +0100
commitd82e1b8ecabb9eaa1f7f76ca0e8c97f63719f13a (patch)
treeeee9cd6a0484cb3d0efa611b07e8f52e12d12fa1 /conf.d
parent77a19477d3cb63b5af519853489cc90ead0a111b (diff)
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 <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/cmake/config.cmake2
1 files changed, 2 insertions, 0 deletions
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")