2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2014-10-11 02:20:49 +01:00
|
|
|
|
2014-10-11 02:25:48 +01:00
|
|
|
project(SDL_image_test)
|
2014-10-09 08:23:30 +01:00
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
|
|
|
|
find_package(SDL REQUIRED)
|
|
|
|
find_package(SDL_image REQUIRED)
|
|
|
|
|
|
|
|
include_directories( ${SDL_INCLUDE_DIRS} ${SDL_IMAGE_INCLUDE_DIRS})
|
|
|
|
add_executable(sdl_image_test
|
|
|
|
sdl_image-test.c
|
|
|
|
)
|
|
|
|
target_link_libraries(sdl_image_test ${SDL_LIBRARY} ${SDL_IMAGE_LIBRARY} )
|