Pārlūkot izejas kodu

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 3 gadi atpakaļ
vecāks
revīzija
14ffaba399
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  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)
     elseif(SOLARIS)
       set(SDL_RLD_FLAGS "-R\${libdir}")
       set(SDL_RLD_FLAGS "-R\${libdir}")
     endif()
     endif()
-    set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
     set(HAVE_RPATH TRUE)
     set(HAVE_RPATH TRUE)
   endif()
   endif()