git repos / blockattack-game

commit c8c45c95

Poul Sander · 2020-08-15 15:40
c8c45c9532553a7b07785d789bdd3d624895a495 patch · browse files
parent 327544363fbd688097c0ee765a32dedf16b6e8af

Add include directories based on https://github.com/blockattack/blockattack-game/issues/23

Changed files

M CMakeLists.txt before
diff --git a/CMakeLists.txt b/CMakeLists.txt index 57ff44a..efabda6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -71,6 +71,10 @@ pkg_search_module(SDL2MIXER REQUIRED SDL2_mixer)
pkg_search_module(SDL2IMAGE REQUIRED SDL2_image)
pkg_search_module(SDL2TTF REQUIRED SDL2_ttf)
+include_directories(${SDL2MIXER_INCLUDE_DIRS})
+include_directories(${SDL2IMAGE_INCLUDE_DIRS})
+include_directories(${SDL2TTF_INCLUDE_DIRS})
+
find_package(Boost COMPONENTS program_options REQUIRED)
#Find all sources but one