From 7dc8a1b94b1ae76773cbb3d5ee793ee5ce75e730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hatvani=20Tam=C3=A1s?= Date: Tue, 10 Feb 2026 13:09:22 +0100 Subject: [PATCH] fixed linux include libs and sdl2 include path --- premake5.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/premake5.lua b/premake5.lua index 9eb3fef..8b1dca0 100644 --- a/premake5.lua +++ b/premake5.lua @@ -47,7 +47,7 @@ project "SakuraVNE" --project under solution } links{ - "ImGui.lib" + "ImGui" } filter "system:windows" @@ -87,6 +87,18 @@ project "SakuraVNE" --project under solution "PLATFORM_LINUX" } + includedirs{ + "/usr/include/SDL2" + } + + -- TELL THE LINKER TO USE SYSTEM LIBS + links { + "SDL2", + "GL", -- OpenGL is usually required for ImGui/SDL apps + "dl", -- Dynamic linking loader (often needed) + "pthread" -- POSIX threads (often needed) + } + filter "configurations:Debug" defines "DEBUG" symbols "On"