Browse Source

cmake: build with rpath's, they are removed on install

This allows to build and run tests (on Linux) linked against the shared library
Anonymous Maarten 2 years ago
parent
commit
14ffaba399
1 changed files with 0 additions and 1 deletions
  1. 0 1
      CMakeLists.txt

+ 0 - 1
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()