equal
deleted
inserted
replaced
5 IMMEDIATE @ONLY) |
5 IMMEDIATE @ONLY) |
6 |
6 |
7 ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") |
7 ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") |
8 endif() |
8 endif() |
9 |
9 |
10 if (APPLE AND BUNDLE) |
10 if (APPLE) |
11 |
|
12 find_package(Qt4 REQUIRED) |
11 find_package(Qt4 REQUIRED) |
13 find_package(SDL REQUIRED) |
12 find_package(SDL REQUIRED) |
14 find_package(SDL_image REQUIRED) |
13 find_package(SDL_image REQUIRED) |
15 find_package(SDL_net REQUIRED) |
14 find_package(SDL_net REQUIRED) |
16 find_package(SDL_ttf REQUIRED) |
15 find_package(SDL_ttf REQUIRED) |
42 |
41 |
43 string(REGEX REPLACE "(.*);-.*" "\\1" sdl_dir "${SDL_LIBRARY}") |
42 string(REGEX REPLACE "(.*);-.*" "\\1" sdl_dir "${SDL_LIBRARY}") |
44 |
43 |
45 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/CreateMacBundle.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/CreateMacBundle.cmake) |
44 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/CreateMacBundle.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/CreateMacBundle.cmake) |
46 |
45 |
47 endif(APPLE AND BUNDLE) |
46 endif() |