summaryrefslogtreecommitdiff
blob: 7967c23c973e9574b000a21c3fbc79a34137e182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a1e8541..80a96c2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -208,7 +208,7 @@ else()
   endif()
   add_dependencies(grooveplayer groove)
   target_link_libraries(grooveplayer LINK_PRIVATE ${SDL2_LIBRARY})
-  include_directories(${SDL2_INCLUDE_DIR})
+  include_directories(${SDL2_INCLUDE_DIR} "${SDL2_INCLUDE_DIR}/SDL2")
 
   install(FILES "grooveplayer/player.h" DESTINATION "include/grooveplayer")
   install(TARGETS grooveplayer DESTINATION lib)