From 21d808d0e2235f1f183d4aa38e2494bf69f9125f Mon Sep 17 00:00:00 2001 From: Callie LeFave Date: Thu, 5 Apr 2018 21:07:17 -0400 Subject: [PATCH] CMake: Make RPATH absolute --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4aa15f2d4..a2a3e7e60 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,7 +113,7 @@ if (BUILD_OPENEMU) endif() -set(CMAKE_INSTALL_RPATH "${LIBDIR}") +set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LIBDIR}") if (NOT DEFINED MANDIR) set(MANDIR ${CMAKE_INSTALL_MANDIR})