6ef7598
diff -r 4b4f7dca5ce2 SetPaths.cmake
6ef7598
--- a/SetPaths.cmake	Sun May 30 14:28:22 2010 +0200
6ef7598
+++ b/SetPaths.cmake	Sun May 30 14:29:28 2010 +0200
6ef7598
@@ -237,19 +237,3 @@
6ef7598
    set(CMAKE_BUILD_TYPE RelWithDebInfo)
6ef7598
 endif (NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
6ef7598
 
6ef7598
-
6ef7598
-
6ef7598
-# setup default RPATH/install_name handling, may be overridden by KDE4_HANDLE_RPATH_FOR_[LIBRARY|EXECUTABLE]
6ef7598
-# default is to build with RPATH for the install dir, so it doesn't need to relink
6ef7598
-if (UNIX)
6ef7598
-   if (APPLE)
6ef7598
-      set(CMAKE_INSTALL_NAME_DIR ${LIB_INSTALL_DIR})
6ef7598
-   else (APPLE)
6ef7598
-      # add our LIB_INSTALL_DIR to the RPATH and use the RPATH figured out by cmake when compiling
6ef7598
-      set(CMAKE_INSTALL_RPATH ${LIB_INSTALL_DIR} )
6ef7598
-      set(CMAKE_SKIP_BUILD_RPATH TRUE)
6ef7598
-      set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
6ef7598
-      set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
6ef7598
-   endif (APPLE)
6ef7598
-endif (UNIX)
6ef7598
-