Skip to content

Commit

Permalink
Prevent bogus addition of -rpath to libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 3, 2010
1 parent 12ad382 commit a40d3e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Expand Up @@ -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")
Expand Down

0 comments on commit a40d3e1

Please sign in to comment.