blob: 865f143db27b6ca0b0b5171b3ac5e2f9a3550157 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# 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_IMAGE SDL_image)
# for backward compatibility
set(SDLIMAGE_LIBRARY ${SDL_IMAGE_LIBRARIES})
set(SDL_IMAGE_LIBRARY ${SDL_IMAGE_LIBRARIES})
set(SDLIMAGE_INCLUDE_DIR ${SDL_IMAGE_INCLUDE_DIRS})
set(SDLIMAGE_FOUND ${SDL_IMAGE_FOUND})
|