Skip to content

Commit

Permalink
Don't use -fvisibility=hidden on several platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 12, 2009
1 parent e4002c6 commit aa478bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Expand Up @@ -60,7 +60,10 @@ IF(CMAKE_COMPILER_IS_GNUCC)
" PHYSFS_IS_GCC4)

IF(PHYSFS_IS_GCC4)
ADD_DEFINITIONS(-fvisibility=hidden)
# Not supported on several operating systems at this time.
IF(NOT OS2 AND NOT SOLARIS AND NOT WINDOWS)
ADD_DEFINITIONS(-fvisibility=hidden)
ENDIF(NOT OS2 AND NOT SOLARIS AND NOT WINDOWS)
ENDIF(PHYSFS_IS_GCC4)
ENDIF(CMAKE_COMPILER_IS_GNUCC)

Expand Down

0 comments on commit aa478bc

Please sign in to comment.