From a864f240d1ffcc8c214e51bbd369ecd487d6deee Mon Sep 17 00:00:00 2001 From: Paul Dino Jones Date: Mon, 25 May 2026 23:36:57 -0400 Subject: [PATCH] fix lua linking --- CMakeLists.txt | 2 +- src/monocoque/devices/serial/arduinoledlua.h | 4 ++-- src/monocoque/devices/simdevice.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 900e63c..b0f4da6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,7 +75,7 @@ message("Using pulseaudio backend...") add_compile_definitions(USE_PULSEAUDIO=true) target_link_libraries(monocoque m hidapi-hidraw pulse serialport xml2 argtable2 config gameloop helper devices slog simulatorapi uv xdg-basedir lua proc2) -target_include_directories(monocoque PUBLIC config ${LIBXML_INCLUDE_DIR} ${LUA_INCLUDE_DIR}) +target_include_directories(monocoque PUBLIC config ${LIBXML_INCLUDE_DIR}) add_subdirectory(src/monocoque/gameloop) add_subdirectory(src/monocoque/simulatorapi) diff --git a/src/monocoque/devices/serial/arduinoledlua.h b/src/monocoque/devices/serial/arduinoledlua.h index e3da8f4..89ae748 100644 --- a/src/monocoque/devices/serial/arduinoledlua.h +++ b/src/monocoque/devices/serial/arduinoledlua.h @@ -2,8 +2,8 @@ #define _ARDUINOLEDLUA_H //#include -#include "lauxlib.h" -#include "lualib.h" +#include +#include #ifdef USE_LUA_55 /* open all libraries */ diff --git a/src/monocoque/devices/simdevice.h b/src/monocoque/devices/simdevice.h index 2ad0a87..e0594ab 100644 --- a/src/monocoque/devices/simdevice.h +++ b/src/monocoque/devices/simdevice.h @@ -4,7 +4,7 @@ #include #include -#include "lua.h" +#include #include "usbdevice.h" #include "sounddevice.h"