equal
deleted
inserted
replaced
3 find_package(SDL) |
3 find_package(SDL) |
4 find_package(SDL_image) |
4 find_package(SDL_image) |
5 find_package(SDL_net) |
5 find_package(SDL_net) |
6 find_package(SDL_ttf) |
6 find_package(SDL_ttf) |
7 find_package(SDL_mixer) |
7 find_package(SDL_mixer) |
8 find_package(Lua51 REQUIRED) |
8 #TODO: exclude for iphone only? |
|
9 find_package(Lua51) |
9 |
10 |
10 #find which version of SDL_image and SDL_mixer we have (for IMG_Init and Mix_Init) |
11 #find which version of SDL_image and SDL_mixer we have (for IMG_Init and Mix_Init) |
11 #if the headers are not installed, the newer apis won't be activated |
12 #if the headers are not installed, the newer apis won't be activated |
12 find_file(sdlmixer_h SDL_mixer.h ${SDLMIXER_INCLUDE_DIR}) |
13 find_file(sdlmixer_h SDL_mixer.h ${SDLMIXER_INCLUDE_DIR}) |
13 if(sdlmixer_h) |
14 if(sdlmixer_h) |