mirror of https://git.wownero.com/dsc/mxe.git
15 lines
371 B
CMake
15 lines
371 B
CMake
# 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 sdl)
|
|
|
|
# for backward compatibility
|
|
set(SDL_LIBRARY ${SDL_LIBRARIES})
|
|
set(SDL_INCLUDE_DIR ${SDL_INCLUDE_DIRS})
|
|
set(SDL_VERSION_STRING ${SDL_VERSION})
|