shithub: dumb

Download patch

ref: cab1803f1d6517754696b5c3d9b600e23ef9015e
parent: 275504320c6b9452ef3125646576ffec1ec8c3bd
author: Andreas Gnau <Rondom@Rondom.de>
date: Sun Oct 22 22:47:53 EDT 2017

Fix compiling with custom Allegro4-include-dir

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -168,6 +168,7 @@
     set_target_properties(aldmb PROPERTIES SOVERSION ${DUMB_VERSION_MAJOR})
     list(APPEND DUMB_TARGETS aldmb)
     list(APPEND INSTALL_HEADERS include/aldumb.h)
+    target_include_directories(aldmb PUBLIC ${ALLEGRO_INCLUDE_DIR})
     target_link_libraries(aldmb ${ALLEGRO_LIBRARIES} dumb)
 endif()