From 40b24ec65551a73b6a3fd0c053f3a2805cdf72b8 Mon Sep 17 00:00:00 2001 From: Peter Date: Thu, 21 Oct 2021 18:51:41 +0200 Subject: [PATCH] Try to make builds pass again. --- CMakeLists.txt | 4 ++-- src/sdl.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d211b42..8004db4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,7 +100,7 @@ IF(MAIKO_DISPLAY_SDL) SET(MAIKO_DISPLAY_SDL_DEFINITIONS "-DSDL" ) - SET(MAIKO_DISPLAY_SDL_LIBRARIES SDL2::SDL2) + SET(MAIKO_DISPLAY_SDL_LIBRARIES SDL2) SET(MAIKO_DISPLAY_SDL_SRCS src/sdl.c ) @@ -432,7 +432,7 @@ IF(MAIKO_DISPLAY_SDL) # Tell it that the SDL launcher is available. TARGET_COMPILE_DEFINITIONS(lde PUBLIC ${MAIKO_DISPLAY_SDL_DEFINITIONS}) # This is needed so that it can call XOpenDisplay. - TARGET_LINK_LIBRARIES(lde SDL2::SDL2) + TARGET_LINK_LIBRARIES(lde SDL2) ENDIF() ADD_EXECUTABLE(ldeether src/ldeether.c src/dlpi.c) diff --git a/src/sdl.c b/src/sdl.c index bbff60b..e9a6f20 100644 --- a/src/sdl.c +++ b/src/sdl.c @@ -1,5 +1,5 @@ -#include -#include +#include +#include #include "lispemul.h" #include "miscstat.h" #include "keyboard.h"