fixed linux include libs and sdl2 include path

This commit is contained in:
2026-02-10 13:09:22 +01:00
parent b33a3ffc5c
commit 7dc8a1b94b

View File

@@ -47,7 +47,7 @@ project "SakuraVNE" --project under solution
} }
links{ links{
"ImGui.lib" "ImGui"
} }
filter "system:windows" filter "system:windows"
@@ -87,6 +87,18 @@ project "SakuraVNE" --project under solution
"PLATFORM_LINUX" "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" filter "configurations:Debug"
defines "DEBUG" defines "DEBUG"
symbols "On" symbols "On"