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})