Skip to content
Permalink
Browse files
Don't use -fvisibility=hidden on several platforms.
  • Loading branch information
icculus committed Jul 12, 2009
1 parent e4002c6 commit aa478bc5df672e15bab2badbc8fbd9d3d9dcfecf
Showing with 4 additions and 1 deletion.
  1. +4 −1 CMakeLists.txt
@@ -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)

0 comments on commit aa478bc

Please sign in to comment.