CMakeLists.txt
changeset 1009 56a3873c63e4
parent 1005 cafe3867784c
child 1015 7bd933e66d8d
equal deleted inserted replaced
1006:139e2ab9e303 1009:56a3873c63e4
    65         #error This is not gcc4.
    65         #error This is not gcc4.
    66         #endif
    66         #endif
    67     " PHYSFS_IS_GCC4)
    67     " PHYSFS_IS_GCC4)
    68 
    68 
    69     IF(PHYSFS_IS_GCC4)
    69     IF(PHYSFS_IS_GCC4)
    70         IF(NOT OS2 AND NOT SOLARIS) # Not supported on OS/2 or Solaris.
    70         # Not supported on several operating systems at this time.
       
    71         IF(NOT OS2 AND NOT SOLARIS AND NOT WINDOWS) 
    71             ADD_DEFINITIONS(-fvisibility=hidden)
    72             ADD_DEFINITIONS(-fvisibility=hidden)
    72         ENDIF(NOT OS2 AND NOT SOLARIS)
    73         ENDIF(NOT OS2 AND NOT SOLARIS AND NOT WINDOWS)
    73     ENDIF(PHYSFS_IS_GCC4)
    74     ENDIF(PHYSFS_IS_GCC4)
    74 ENDIF(CMAKE_COMPILER_IS_GNUCC)
    75 ENDIF(CMAKE_COMPILER_IS_GNUCC)
    75 
    76 
    76 IF(CMAKE_C_COMPILER_ID STREQUAL "SunPro")
    77 IF(CMAKE_C_COMPILER_ID STREQUAL "SunPro")
    77     ADD_DEFINITIONS(-erroff=E_EMPTY_TRANSLATION_UNIT)
    78     ADD_DEFINITIONS(-erroff=E_EMPTY_TRANSLATION_UNIT)