363aa8d
diff -up hedgewars-src-0.9.22/cmake_modules/paths.cmake~ hedgewars-src-0.9.22/cmake_modules/paths.cmake
363aa8d
--- hedgewars-src-0.9.22/cmake_modules/paths.cmake~	2015-12-02 15:02:38.000000000 +0100
363aa8d
+++ hedgewars-src-0.9.22/cmake_modules/paths.cmake	2015-12-02 15:15:24.729980850 +0100
363aa8d
@@ -67,5 +67,5 @@ else(APPLE AND NOT (${CMAKE_INSTALL_PREF
e59ac57
     # - the third one is the full path of the system dir
e59ac57
     #source http://www.cmake.org/pipermail/cmake/2008-January/019290.html
363aa8d
     #skip this if the install prefix is the standard one
e59ac57
-    set(CMAKE_INSTALL_RPATH "$ORIGIN/../${target_library_install_dir}/:$ORIGIN/:${CMAKE_INSTALL_PREFIX}/${target_library_install_dir}/")
e59ac57
+    #set(CMAKE_INSTALL_RPATH "$ORIGIN/../${target_library_install_dir}/:$ORIGIN/:${CMAKE_INSTALL_PREFIX}/${target_library_install_dir}/")
e59ac57
 endif(APPLE)