CMakeLists.txt
changeset 1040 5fc90d008821
parent 1039 6ea910694da8
child 1041 f7b7996e54f1
--- a/CMakeLists.txt	Tue Feb 02 23:04:13 2010 -0500
+++ b/CMakeLists.txt	Tue Feb 02 23:04:28 2010 -0500
@@ -72,6 +72,9 @@
             ADD_DEFINITIONS(-fvisibility=hidden)
         ENDIF(NOT OS2 AND NOT SOLARIS AND NOT WINDOWS)
     ENDIF(PHYSFS_IS_GCC4)
+
+    # Don't use -rpath.
+    SET(CMAKE_SKIP_RPATH ON CACHE BOOL "Skip RPATH" FORCE)
 ENDIF(CMAKE_COMPILER_IS_GNUCC)
 
 IF(CMAKE_C_COMPILER_ID STREQUAL "SunPro")