From 14ffaba399211fbea0bbfcd881473c4205d812aa Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Wed, 30 Nov 2022 23:39:54 +0100
Subject: [PATCH] cmake: build with rpath's, they are removed on install
This allows to build and run tests (on Linux) linked against the shared library
---
CMakeLists.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2ca26e74e38f..a7ddf4f9a674 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1669,7 +1669,6 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
elseif(SOLARIS)
set(SDL_RLD_FLAGS "-R\${libdir}")
endif()
- set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
set(HAVE_RPATH TRUE)
endif()