aboutsummaryrefslogtreecommitdiff
path: root/src/pad
diff options
context:
space:
mode:
Diffstat (limited to 'src/pad')
-rw-r--r--src/pad/CMakeLists.txt2
-rw-r--r--src/pad/sdl-1.2/src/pad.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pad/CMakeLists.txt b/src/pad/CMakeLists.txt
index c1cab30..6470865 100644
--- a/src/pad/CMakeLists.txt
+++ b/src/pad/CMakeLists.txt
@@ -9,7 +9,7 @@ if(PS1_BUILD)
elseif(SDL1_2_BUILD)
set(src ${src} "sdl-1.2/src/pad.c")
set(inc ${inc} "sdl-1.2/inc")
- set(deps ${deps} SDL)
+ set(deps ${deps} SDL::SDL)
endif()
add_library(pad ${src})
diff --git a/src/pad/sdl-1.2/src/pad.c b/src/pad/sdl-1.2/src/pad.c
index f6a96c1..57fdb25 100644
--- a/src/pad/sdl-1.2/src/pad.c
+++ b/src/pad/sdl-1.2/src/pad.c
@@ -1,5 +1,5 @@
#include <pad.h>
-#include <SDL/SDL.h>
+#include <SDL.h>
#include <stdio.h>
void pad_port_update(struct pad *const p)