Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More Solaris fixes.
  • Loading branch information
icculus committed Apr 13, 2009
1 parent 3f0cffc commit e1dee8e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Expand Up @@ -26,6 +26,10 @@ IF (CMAKE_SYSTEM MATCHES OS2)
SET(OS2 TRUE)
ENDIF (CMAKE_SYSTEM MATCHES OS2)

IF(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
SET(SOLARIS TRUE)
ENDIF(CMAKE_SYSTEM_NAME STREQUAL "SunOS")

INCLUDE(CheckIncludeFile)
INCLUDE(CheckLibraryExists)
INCLUDE(CheckCSourceCompiles)
Expand Down Expand Up @@ -63,9 +67,9 @@ IF(CMAKE_COMPILER_IS_GNUCC)
" PHYSFS_IS_GCC4)

IF(PHYSFS_IS_GCC4)
IF (NOT OS2) # Not supported on OS/2.
IF((NOT OS2) AND (NOT SOLARIS)) # Not supported on OS/2 or Solaris.
ADD_DEFINITIONS(-fvisibility=hidden)
ENDIF (NOT OS2)
ENDIF((NOT OS2) AND (NOT SOLARIS))
ENDIF(PHYSFS_IS_GCC4)
ENDIF(CMAKE_COMPILER_IS_GNUCC)

Expand Down

0 comments on commit e1dee8e

Please sign in to comment.