Skip to content
Permalink
Browse files
Prevent bogus addition of -rpath to libraries.
  • Loading branch information
icculus committed Feb 3, 2010
1 parent 12ad382 commit a40d3e1e3b579e9826e5dbc672232b37284a724d
Showing with 3 additions and 0 deletions.
  1. +3 −0 CMakeLists.txt
@@ -72,6 +72,9 @@ IF(CMAKE_COMPILER_IS_GNUCC)
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")

0 comments on commit a40d3e1

Please sign in to comment.