cmake/sdlchecks.cmake
changeset 8016 3746af784462
parent 7981 6d538bc1b395
child 8017 d84a30e5cbd5
     1.1 --- a/cmake/sdlchecks.cmake	Tue Nov 19 11:04:05 2013 -0300
     1.2 +++ b/cmake/sdlchecks.cmake	Tue Nov 19 15:00:39 2013 -0500
     1.3 @@ -331,15 +331,8 @@
     1.4        set(SOURCE_FILES ${SOURCE_FILES} ${X11_SOURCES})
     1.5        set(SDL_VIDEO_DRIVER_X11 1)
     1.6  
     1.7 -      if(HAVE_GCC_FVISIBILITY)
     1.8 -        set(X11_SYMBOLS_PRIVATE TRUE)
     1.9 -      else()
    1.10 -        set(X11_SYMBOLS_PRIVATE FALSE)
    1.11 -      endif(HAVE_GCC_FVISIBILITY)
    1.12 -
    1.13        if(APPLE)
    1.14          set(X11_SHARED OFF)
    1.15 -        set(X11_SYMBOLS_PRIVATE TRUE)
    1.16        endif(APPLE)
    1.17  
    1.18        check_function_exists("shmat" HAVE_SHMAT)
    1.19 @@ -358,10 +351,6 @@
    1.20          if(NOT HAVE_DLOPEN)
    1.21            message_warn("You must have SDL_LoadObject() support for dynamic X11 loading")
    1.22            set(HAVE_X11_SHARED FALSE)
    1.23 -          if(X11_SYMBOLS_PRIVATE)
    1.24 -            message_warn("You must have gcc4 (-fvisibility=hidden) for dynamic X11 loading")
    1.25 -            set(HAVE_X11_SHARED TRUE)
    1.26 -          endif(X11_SYMBOLS_PRIVATE)
    1.27          else(NOT HAVE_DLOPEN)
    1.28            set(HAVE_X11_SHARED TRUE)
    1.29          endif()