QTfrontend/CMakeLists.txt
branchsdl2transition
changeset 9701 7f6786625667
parent 9679 dfaa39674e1e
child 9703 966d180184b4
equal deleted inserted replaced
9699:fab319c85a39 9701:7f6786625667
   203     )
   203     )
   204 
   204 
   205 list(APPEND HW_LINK_LIBS
   205 list(APPEND HW_LINK_LIBS
   206     physfs physlayer
   206     physfs physlayer
   207     ${QT_LIBRARIES}
   207     ${QT_LIBRARIES}
   208     ${SDL_LIBRARY}
   208     )
   209     ${SDLMIXER_LIBRARY}
   209 
   210     )
   210 if(USESDL12)
       
   211     list(APPEND HW_LINK_LIBS
       
   212         ${SDL_LIBRARY}
       
   213         ${SDLMIXER_LIBRARY}
       
   214         )
       
   215 else()
       
   216     list(APPEND HW_LINK_LIBS
       
   217         ${SDL2_LIBRARY}
       
   218         ${SDL2MIXER_LIBRARY}
       
   219         )
       
   220 endif()
   211 
   221 
   212 if(WIN32 AND NOT UNIX)
   222 if(WIN32 AND NOT UNIX)
   213     if(NOT SDL_LIBRARY)
   223     if(NOT SDL_LIBRARY)
   214         list(APPEND HW_LINK_LIBS SDL)
   224         list(APPEND HW_LINK_LIBS SDL)
   215     endif()
   225     endif()