summaryrefslogtreecommitdiff
path: root/games-strategy/freeorion/files/freeorion-0.4.7.1-backport-sdl2-include-dir-fix.patch
blob: f7ccdba126bb79ffbe1ccb61796b82ee3c5d112a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 77bdc407d0760a529e40914d16248dce01fd4778 Mon Sep 17 00:00:00 2001
From: O01eg <o01eg@yandex.ru>
Date: Wed, 8 Nov 2017 16:07:57 +0300
Subject: [PATCH] Fix #1843

---
 CMakeLists.txt    | 2 +-
 GG/CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/CMakeLists.txt	2018-06-03 11:36:04.631832409 -0400
+++ b/CMakeLists.txt	2018-06-03 11:36:20.678821846 -0400
@@ -484,7 +484,7 @@
         ${Boost_INCLUDE_DIRS}
         ${OPENGL_INCLUDE_DIR}
         ${GLEW_INCLUDE_DIRS}
-        ${SDL_INCLUDE_DIRS}
+        ${SDL_INCLUDE_DIR}
         ${OPENAL_INCLUDE_DIR}
         ${OGG_INCLUDE_DIRS}
         ${VORBIS_INCLUDE_DIRS}
diff --git a/GG/CMakeLists.txt b/GG/CMakeLists.txt
index 5d3c157362..c5bf3825d8 100644
--- a/GG/CMakeLists.txt
+++ b/GG/CMakeLists.txt
@@ -184,7 +184,7 @@ target_include_directories(GiGiSDL SYSTEM
         ${Boost_INCLUDE_DIRS}
         ${OPENGL_INCLUDE_DIR}
         ${GLEW_INCLUDE_DIRS}
-        ${SDL_INCLUDE_DIRS}
+        ${SDL_INCLUDE_DIR}
 )
 
 target_link_libraries(GiGiSDL