CMakeLists.txt
changeset 1040 5fc90d008821
parent 1039 6ea910694da8
child 1041 f7b7996e54f1
equal deleted inserted replaced
1039:6ea910694da8 1040:5fc90d008821
    70         # Not supported on several operating systems at this time.
    70         # Not supported on several operating systems at this time.
    71         IF(NOT OS2 AND NOT SOLARIS AND NOT WINDOWS) 
    71         IF(NOT OS2 AND NOT SOLARIS AND NOT WINDOWS) 
    72             ADD_DEFINITIONS(-fvisibility=hidden)
    72             ADD_DEFINITIONS(-fvisibility=hidden)
    73         ENDIF(NOT OS2 AND NOT SOLARIS AND NOT WINDOWS)
    73         ENDIF(NOT OS2 AND NOT SOLARIS AND NOT WINDOWS)
    74     ENDIF(PHYSFS_IS_GCC4)
    74     ENDIF(PHYSFS_IS_GCC4)
       
    75 
       
    76     # Don't use -rpath.
       
    77     SET(CMAKE_SKIP_RPATH ON CACHE BOOL "Skip RPATH" FORCE)
    75 ENDIF(CMAKE_COMPILER_IS_GNUCC)
    78 ENDIF(CMAKE_COMPILER_IS_GNUCC)
    76 
    79 
    77 IF(CMAKE_C_COMPILER_ID STREQUAL "SunPro")
    80 IF(CMAKE_C_COMPILER_ID STREQUAL "SunPro")
    78     ADD_DEFINITIONS(-erroff=E_EMPTY_TRANSLATION_UNIT)
    81     ADD_DEFINITIONS(-erroff=E_EMPTY_TRANSLATION_UNIT)
    79     ADD_DEFINITIONS(-xldscope=hidden)
    82     ADD_DEFINITIONS(-xldscope=hidden)