libsdl-org/sdl2-compat

should we have CMAKE_SKIP_RPATH TRUE ?

1bsyl opened this issue · 3 comments

1bsyl commented

just renamed the issue with madebr comment:

The tests are linked against the correct library, but the tests inside the build directory don't have their run path set:

set(CMAKE_SKIP_RPATH TRUE)

I think that line should not be there.
CMake will remove the run path when installing the files.

1bsyl commented

yes, sorry, obviously wrong reporting :) sdl2-compat builds the libSDL2 ... I just need to set the correct LD_LIBRARY_PATH

I leave this opened for your remark about RPATH, @madebr, if this needs to be solved.

madebr commented

set(CMAKE_SKIP_RPATH TRUE) has been removed in cabf98a.