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:
1 parent
1dce3f9265
commit
14ffaba399
1 file changed
-1
@@ -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