Optimized CMake library searching.

This commit is contained in:
Tim Schubert 2016-01-20 19:00:01 +01:00
parent 4f95ed3fc0
commit b159f83c63
5 changed files with 8 additions and 425 deletions

View file

@ -1,2 +1,3 @@
add_executable(Bob Main.cpp Main.hpp Grid.cpp Grid.hpp Gameplay.cpp Gameplay.hpp Gui.hpp Gui.cpp)
target_link_libraries(Bob ${SDL2_LIBRARY} ${SDL2GFX_LIBRARY} ${Boost_LIBRARIES})
target_link_libraries(Bob ${SDL2_LIB} ${SDL2_GFX_LIB} ${SDL2_TTF_LIB} ${Boost_LIBRARIES})

View file

@ -2,7 +2,7 @@
#include <string>
#include <utility>
#include <SDL2/SDL.h>
#include <SDL_video.h>
#include <SDL2/SDL_video.h>
#include "Gameplay.hpp"
#include <unordered_set>