From 3e90ec87b9f8f01a6896de1491cc023dc4e0e259 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 20 Aug 2017 07:03:25 -0500 Subject: [PATCH] Add $ORIGIN to RPATH --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0fcc995d..95929fec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ add_definitions( -Wsign-compare ) -set(CMAKE_INSTALL_RPATH "$ORIGIN/../lib/nostalgia") +set(CMAKE_INSTALL_RPATH "$ORIGIN" "$ORIGIN/../lib/nostalgia") set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) if (CMAKE_BUILD_TYPE STREQUAL "Release")