summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorBertram <bertram@cegetel.net>2010-02-01 16:22:39 +0100
committerBertram <bertram@cegetel.net>2010-02-01 16:22:39 +0100
commit652ada50071c09e582a5100224f16b3a432eed1d (patch)
tree49dafc6b2134d6dea5366d8e1da2262ca085c7a8 /src/CMakeLists.txt
parent7e2a54bedefc6b5e2b34c9dafccb8322f46266e7 (diff)
downloadmana-652ada50071c09e582a5100224f16b3a432eed1d.tar.gz
mana-652ada50071c09e582a5100224f16b3a432eed1d.tar.bz2
mana-652ada50071c09e582a5100224f16b3a432eed1d.tar.xz
mana-652ada50071c09e582a5100224f16b3a432eed1d.zip
Moved from SDLrescalefacility to SDL_gfx.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b1e933f2..b56aeddb 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -3,6 +3,7 @@ FIND_PACKAGE(SDL_image REQUIRED)
FIND_PACKAGE(SDL_mixer REQUIRED)
FIND_PACKAGE(SDL_net REQUIRED)
FIND_PACKAGE(SDL_ttf REQUIRED)
+FIND_PACKAGE(SDL_gfx REQUIRED)
FIND_PACKAGE(ENet REQUIRED)
FIND_PACKAGE(CURL REQUIRED)
FIND_PACKAGE(LibXml2 REQUIRED)
@@ -61,6 +62,7 @@ INCLUDE_DIRECTORIES(
${SDLMIXER_INCLUDE_DIR}
${SDLNET_INCLUDE_DIR}
${SDLTTF_INCLUDE_DIR}
+ ${SDLGFX_INCLUDE_DIR}
${ENET_INCLUDE_DIR}
${PNG_INCLUDE_DIR}
${PHYSFS_INCLUDE_DIR}
@@ -367,8 +369,6 @@ SET(SRCS
resources/resource.h
resources/resourcemanager.cpp
resources/resourcemanager.h
- resources/sdlrescalefacility.h
- resources/sdlrescalefacility.cpp
resources/soundeffect.h
resources/soundeffect.cpp
resources/spritedef.h
@@ -597,6 +597,7 @@ TARGET_LINK_LIBRARIES(mana ${SDL_LIBRARY}
${SDLMIXER_LIBRARY}
${SDLNET_LIBRARY}
${SDLTTF_LIBRARY}
+ ${SDLGFX_LIBRARIES}
${ENET_LIBRARIES}
${PNG_LIBRARIES}
${PHYSFS_LIBRARY}