Skip to content

Commit

Permalink
Don't use -fvisibility=hidden on Windows, since MinGW doesn't support…
Browse files Browse the repository at this point in the history
… it. :(
  • Loading branch information
icculus committed Jul 12, 2009
1 parent a69f97b commit 88729eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Expand Up @@ -67,9 +67,10 @@ IF(CMAKE_COMPILER_IS_GNUCC)
" PHYSFS_IS_GCC4)

IF(PHYSFS_IS_GCC4)
IF(NOT OS2 AND NOT SOLARIS) # Not supported on OS/2 or Solaris.
# 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)
ENDIF(NOT OS2 AND NOT SOLARIS AND NOT WINDOWS)
ENDIF(PHYSFS_IS_GCC4)
ENDIF(CMAKE_COMPILER_IS_GNUCC)

Expand Down

0 comments on commit 88729eb

Please sign in to comment.