Bug Tracker – Attachment #552: Fix missing CMake + MinGW librarires for SDL2. for bug #1204

View | Details | Raw Unified | Return to bug 1204
Collapse All | Expand All

(-)client/CMakeLists.txt (+3 lines)
Lines 77-82 Link Here
77
    include_directories(${SDL2_INCLUDE_DIR})
77
    include_directories(${SDL2_INCLUDE_DIR})
78
    include_directories(${SDL2_MIXER_INCLUDE_DIR})
78
    include_directories(${SDL2_MIXER_INCLUDE_DIR})
79
    set(SDL_LINK_LIBRARIES ${SDL2_LIBRARY} ${SDL2_MIXER_LIBRARY})
79
    set(SDL_LINK_LIBRARIES ${SDL2_LIBRARY} ${SDL2_MIXER_LIBRARY})
80
    if(MINGW)
81
      list(APPEND SDL_LINK_LIBRARIES "imm32" "version")
82
    endif()
80
  endif()
83
  endif()
81
endif()
84
endif()
82
85

Return to bug 1204