fixed linux include libs and sdl2 include path
This commit is contained in:
14
premake5.lua
14
premake5.lua
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user