equal
deleted
inserted
replaced
1 configure_file(${hedgewars_SOURCE_DIR}/hedgewars/config.inc.in ${CMAKE_CURRENT_BINARY_DIR}/config.inc) |
|
2 |
|
3 find_package(SDL) |
1 find_package(SDL) |
4 find_package(SDL_image) |
2 find_package(SDL_image) |
5 find_package(SDL_net) |
3 find_package(SDL_net) |
6 find_package(SDL_ttf) |
4 find_package(SDL_ttf) |
7 find_package(SDL_mixer) |
5 find_package(SDL_mixer) |
8 find_package(Lua) |
6 find_package(Lua) |
|
7 |
|
8 configure_file(${hedgewars_SOURCE_DIR}/hedgewars/config.inc.in ${CMAKE_CURRENT_BINARY_DIR}/config.inc) |
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) |