--- a/tools/CMakeLists.txt Mon Nov 11 00:15:20 2013 +0400
+++ b/tools/CMakeLists.txt Fri Dec 06 00:02:10 2013 +0100
@@ -8,20 +8,20 @@
if (APPLE)
find_package(Qt4 REQUIRED QUIET)
- if(${USESDL12})
+ if(${NOSDL2})
find_package(SDL REQUIRED)
find_package(SDL_image REQUIRED)
find_package(SDL_net REQUIRED)
find_package(SDL_ttf REQUIRED)
find_package(SDL_mixer REQUIRED)
find_package(OggVorbis REQUIRED)
- else(${USESDL12})
+ else(${NOSDL2})
find_package(SDL2 REQUIRED)
find_package(SDL2_image REQUIRED)
find_package(SDL2_net REQUIRED)
find_package(SDL2_ttf REQUIRED)
find_package(SDL2_mixer REQUIRED)
- endif(${USESDL12})
+ endif(${NOSDL2})
if(NOT NOAUTOUPDATE)
find_package(Sparkle) #needed for SPARKLE_FOUND variable