summaryrefslogtreecommitdiff
blob: a71e9b4b862a45b19817befeddd3a585adbbe601 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
https://bugs.gentoo.org/649242
Thanks-to: Tim Barnes
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -585,6 +585,7 @@
     endif(WITH_XTEST)
 
     if(USE_SDL_2)
+        include_directories(${SDL2_INCLUDE_DIRS})
         list(APPEND LIBS ${SDL2_LIBRARIES})
     else()
         list(APPEND LIBS ${SDL_LIBRARIES})