From 814d1290cd9aac24bc1eb03961eedf6c8c1f3a71 Mon Sep 17 00:00:00 2001
From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz>
Date: Wed, 14 Nov 2018 15:15:54 +0100
Subject: [PATCH] fix invalid rpath of installed binaries

---
 CMake/CMakeLists_root.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMake/CMakeLists_root.txt b/CMake/CMakeLists_root.txt
index 70f40be328..bf2451df93 100644
--- a/CMake/CMakeLists_root.txt
+++ b/CMake/CMakeLists_root.txt
@@ -118,6 +118,8 @@ endif()
 # Cpp version
 set(CMAKE_CXX_STANDARD {{cpp_version}})
 
+# TODO set CMAKE_INSTALL_PREFIX in release only
+set(CMAKE_INSTALL_PREFIX /usr)
 set(CMAKE_INSTALL_RPATH "${{CMAKE_INSTALL_PREFIX}}/lib")
 set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
 
-- 
GitLab