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.
16 lines
450 B
16 lines
450 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_IMAGE SDL_image)
|
|
|
|
# for backward compatiblity
|
|
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})
|