summaryrefslogtreecommitdiffstats
path: root/src/cmake/FindSDL_mixer.cmake
blob: 08bc886ead271320f65c74ee8fbc0ebc9bf574f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This file is part of MXE.
# See index.html for further information.

if(NOT PKG_CONFIG_FOUND)
  find_package(PkgConfig REQUIRED)
endif()

pkg_check_modules(SDL_MIXER SDL_mixer)

#compatiblity
set(SDL_MIXER_VERSION_STRING ${SDL_MIXER_VERSION})

# for backward compatiblity
set(SDLMIXER_LIBRARY ${SDL_MIXER_LIBRARIES})
set(SDLMIXER_INCLUDE_DIR ${SDL_MIXER_INCLUDE_DIRS})
set(SDLMIXER_FOUND ${SDL_MIXER_FOUND})