From a27066eaad81b5389140a439b2e5fea6f975a452 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Tue, 16 Nov 2021 10:10:22 +0100
Subject: [PATCH] Fix rpath not being set while uninstalled

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0c43721f7..ed8cfc693 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -720,7 +720,7 @@ if(NOT MSVC AND NOT HAIKU)
 	endif()
 endif()
 
-set_target_properties(nheko PROPERTIES SKIP_BUILD_RPATH TRUE)
+set_target_properties(nheko PROPERTIES CMAKE_SKIP_INSTALL_RPATH TRUE)
 
 if(UNIX AND NOT APPLE)
 	install (TARGETS nheko RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
-- 
GitLab