cmake: fix sdl switch typo (close #1448)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5761 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2013-11-12 18:56:15 +00:00
parent 8eb50263cf
commit 0a9e9f9834
1 changed files with 2 additions and 2 deletions

View File

@ -113,9 +113,9 @@ include_directories(. Linux)
if(SDL_FOUND) if(SDL_FOUND)
list(APPEND spu2xSources SndOut_SDL.cpp) list(APPEND spu2xSources SndOut_SDL.cpp)
if(SDL2_API) if(SDL2_API)
add_definitions(-DSPU2X_SDL)
else()
add_definitions(-DSPU2X_SDL2) add_definitions(-DSPU2X_SDL2)
else()
add_definitions(-DSPU2X_SDL)
endif() endif()
#elseif(SDL2_FOUND) #elseif(SDL2_FOUND)
# add_definitions(-DSPU2X_SDL2) # add_definitions(-DSPU2X_SDL2)