From 7a3fa96a5498a579005400ddc2dd74ee55f83628 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 1 Feb 2025 14:08:40 +0900 Subject: [PATCH] build: Do not hard-code /usr/${SD_LIBDIR}/lib in RUNPATH. This doesn't apply to every system. For those systems on which it does apply, their tooling should be setting CMAKE_INSTALL_RPATH to their system-global locations. * CMakeLists.txt (CMAKE_INSTALL_RPATH): Remove /usr/${SD_LIBDIR}/lib. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 196de77e4..b80ca4baf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,7 +94,6 @@ INCLUDE(cmake/checks.cmake) set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_RPATH} ${CMAKE_INSTALL_PREFIX}/${SD_LIBDIR}/lib - /usr/${SD_LIBDIR}/lib ) set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)