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 find_package(Lua51 REQUIRED) |
9 |
9 |
10 #find which version of SDL_image and SDL_mixer we have (for IMG_Init and Mix_Init) |
10 #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 |
11 #if the headers are not installed, the newer apis won't be activated |
12 find_file(sdlmixer_h SDL_mixer.h ${SDLMIXER_INCLUDE_DIR}) |
12 find_file(sdlmixer_h SDL_mixer.h ${SDLMIXER_INCLUDE_DIR}) |
13 if(sdlmixer_h) |
13 if(sdlmixer_h) |