summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2021-03-26 17:56:55 +0900
committerChanwoo Choi <cw00.choi@samsung.com>2021-03-26 17:56:55 +0900
commitcdd57de83c294a1e489f1e70e789baa97d22fac7 (patch)
tree136f9e97935fb18adb9453313520a7f062a13b56
parentfcafe4f1f685e8333ce66a0fa922bd8dd8c8f87e (diff)
downloademulator-yagl-cdd57de83c294a1e489f1e70e789baa97d22fac7.tar.gz
emulator-yagl-cdd57de83c294a1e489f1e70e789baa97d22fac7.tar.bz2
emulator-yagl-cdd57de83c294a1e489f1e70e789baa97d22fac7.zip
EGL: Fix linking issue to add runpath for accessing /hal/lib path
On Tizen 6.5, the install path of hal backend is changed from /usr/lib to /hal/lib. In order to fix this linking issue, add the runpath option for accessing /hal/lib path. Change-Id: I04d9872d795091c560ace11c28e19b17a9c58fa7 Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
-rw-r--r--EGL/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/EGL/CMakeLists.txt b/EGL/CMakeLists.txt
index 3ef3be4..1cebf8f 100644
--- a/EGL/CMakeLists.txt
+++ b/EGL/CMakeLists.txt
@@ -49,6 +49,8 @@ set(LIBRARIES
dl
)
+set(CMAKE_INSTALL_RPATH "/hal/lib")
+
if (PLATFORM_X11)
set(SOURCES ${SOURCES}
x11/yagl_dri2.c