You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
470 B
18 lines
470 B
# This file is part of MXE. See LICENSE.md for licensing information.
|
|
|
|
message("== Custom MXE File: " ${CMAKE_CURRENT_LIST_FILE})
|
|
|
|
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})
|