~gunchleoc/widelands/bug-1818494-ingame-zoom-freezes

« back to all changes in this revision

Viewing changes to cmake/WlFunctions.cmake

  • Committer: Notabilis
  • Date: 2017-05-14 21:06:23 UTC
  • mto: This revision was merged to the branch mainline in revision 8377.
  • Revision ID: notabilis27@web.de-20170514210623-wmw0t9rms4yfhszw
Removed remaining traces of SDL_net.
Problem is, I don't really know what I am doing so there will
probably be troubles when trying to build on Windows or MacOS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
    USES_SDL2
13
13
    USES_SDL2_IMAGE
14
14
    USES_SDL2_MIXER
15
 
    USES_SDL2_NET
16
15
    USES_SDL2_TTF
17
16
    USES_ZLIB
18
17
    USES_ICU
127
126
    target_link_libraries(${NAME} ${SDL2MIXER_LIBRARY})
128
127
  endif()
129
128
 
130
 
  if(ARG_USES_SDL2_NET)
131
 
    wl_include_system_directories(${NAME} ${SDL2NET_INCLUDE_DIR})
132
 
    target_link_libraries(${NAME} ${SDL2NET_LIBRARY})
133
 
  endif()
134
 
 
135
129
  if(ARG_USES_SDL2_IMAGE)
136
130
    wl_include_system_directories(${NAME} ${SDL2IMAGE_INCLUDE_DIR})
137
131
    target_link_libraries(${NAME} ${SDL2IMAGE_LIBRARY})