# 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})