equal
deleted
inserted
replaced
32 endif() |
32 endif() |
33 |
33 |
34 #lower systems don't have enough processing power anyway |
34 #lower systems don't have enough processing power anyway |
35 if (minimum_macosx_version VERSION_LESS "10.4") |
35 if (minimum_macosx_version VERSION_LESS "10.4") |
36 message(FATAL_ERROR "Hedgewars is not supported on Mac OS X pre-10.4") |
36 message(FATAL_ERROR "Hedgewars is not supported on Mac OS X pre-10.4") |
|
37 endif() |
|
38 |
|
39 #gcc is EOL on these systems |
|
40 if (current_macosx_version VERSION_GREATER "10.8") |
|
41 set(CMAKE_C_COMPILER clang) |
|
42 set(CMAKE_CXX_COMPILER clang++) |
37 endif() |
43 endif() |
38 |
44 |
39 #workaround for http://playcontrol.net/ewing/jibberjabber/big_behind-the-scenes_chang.html#SDL_mixer (Update 2) |
45 #workaround for http://playcontrol.net/ewing/jibberjabber/big_behind-the-scenes_chang.html#SDL_mixer (Update 2) |
40 if(current_macosx_version VERSION_EQUAL "10.4") |
46 if(current_macosx_version VERSION_EQUAL "10.4") |
41 find_package(SDL_mixer REQUIRED) |
47 find_package(SDL_mixer REQUIRED) |