equal
deleted
inserted
replaced
6 add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") |
6 add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") |
7 endif() |
7 endif() |
8 |
8 |
9 if (APPLE) |
9 if (APPLE) |
10 find_package(Qt4 REQUIRED QUIET) |
10 find_package(Qt4 REQUIRED QUIET) |
11 find_package(SDL REQUIRED) |
11 if(${USESDL12}) |
12 find_package(SDL_image REQUIRED) |
12 find_package(SDL REQUIRED) |
13 find_package(SDL_net REQUIRED) |
13 find_package(SDL_image REQUIRED) |
14 find_package(SDL_ttf REQUIRED) |
14 find_package(SDL_net REQUIRED) |
15 find_package(SDL_mixer REQUIRED) |
15 find_package(SDL_ttf REQUIRED) |
16 find_package(OggVorbis REQUIRED) |
16 find_package(SDL_mixer REQUIRED) |
|
17 find_package(OggVorbis REQUIRED) |
|
18 else(${USESDL12}) |
|
19 find_package(SDL2 REQUIRED) |
|
20 find_package(SDL2_image REQUIRED) |
|
21 find_package(SDL2_net REQUIRED) |
|
22 find_package(SDL2_ttf REQUIRED) |
|
23 find_package(SDL2_mixer REQUIRED) |
|
24 endif(${USESDL12}) |
|
25 |
17 if(NOT NOAUTOUPDATE) |
26 if(NOT NOAUTOUPDATE) |
18 find_package(Sparkle) #needed for SPARKLE_FOUND variable |
27 find_package(Sparkle) #needed for SPARKLE_FOUND variable |
19 #needed because the 'if' clause in the script prints silly policy warnings |
28 #needed because the 'if' clause in the script prints silly policy warnings |
20 if(${SPARKLE_FOUND}) |
29 if(${SPARKLE_FOUND}) |
21 set(SPARKLE_FOUND 1) |
30 set(SPARKLE_FOUND 1) |