mirror of https://github.com/libsdl-org/SDL.git
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:
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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue