mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-08 14:23:22 +00:00
cmake: build with rpath's, they are removed on install
This allows to build and run tests (on Linux) linked against the shared library
This commit is contained in:
committed by
Anonymous Maarten
parent
1dce3f9265
commit
14ffaba399
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user