From: Matt Mullins Date: Wed, 30 May 2012 04:43:31 +0000 (-0700) Subject: Update libraries used in building to include SDL_ttf, GL, and yaml-cpp X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=5dc2c7d153f6ae431c8484bb0739b82e0c59ad1c;p=IvanGame.git Update libraries used in building to include SDL_ttf, GL, and yaml-cpp --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 707bb0e..5acc516 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,10 @@ include_directories(${YAML_CPP_SOURCE_DIR}/include) find_package(SDL REQUIRED) find_package(SDL_image REQUIRED) +find_package(SDL_ttf REQUIRED) + +find_library(GL GL) add_executable(game Animation.cpp fns.cpp Game.cpp Level.cpp main.cpp WorldObject.cpp Sprite.cpp Text.cpp Actor.cpp Background.cpp Collision.cpp LoadResources.cpp) -target_link_libraries(game ${SDL_LIBRARY} ${SDLIMAGE_LIBRARY}) +target_link_libraries(game yaml-cpp ${SDL_LIBRARY} ${SDLIMAGE_LIBRARY} ${SDLTTF_LIBRARY} ${GL})