diff options
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/GameLogic/CMakeLists.txt | 2 | ||||
-rw-r--r-- | source/gameengine/Ketsji/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/GameLogic/CMakeLists.txt b/source/gameengine/GameLogic/CMakeLists.txt index 530664dce55..a1dce49e14b 100644 --- a/source/gameengine/GameLogic/CMakeLists.txt +++ b/source/gameengine/GameLogic/CMakeLists.txt @@ -38,7 +38,7 @@ SET(INC ) IF(WITH_SDL) - SET(INC ${INC} ${SDL_INC}) + SET(INC ${INC} ${SDL_INCLUDE_DIR}) ELSE(WITH_SDL) ADD_DEFINITIONS(-DDISABLE_SDL) ENDIF(WITH_SDL) diff --git a/source/gameengine/Ketsji/CMakeLists.txt b/source/gameengine/Ketsji/CMakeLists.txt index 47a27ff6e58..77bdd80721f 100644 --- a/source/gameengine/Ketsji/CMakeLists.txt +++ b/source/gameengine/Ketsji/CMakeLists.txt @@ -66,7 +66,7 @@ SET(INC ) IF(WITH_SDL) - SET(INC ${INC} ${SDL_INC}) + SET(INC ${INC} ${SDL_INCLUDE_DIR}) ELSE(WITH_SDL) ADD_DEFINITIONS(-DDISABLE_SDL) ENDIF(WITH_SDL) |