Add PlatformSDL2_Path config

This commit is contained in:
Lynix
2020-05-27 16:58:21 +02:00
parent 7d23cafa35
commit 71c11c5d6f
4 changed files with 28 additions and 2 deletions

View File

@@ -17,6 +17,9 @@ EXAMPLE.Libraries = {
"NazaraUtility"
}
if Config.PlatformSDL2 then
if (Config.PlatformSDL2) then
table.insert(EXAMPLE.Defines, "NAZARA_PLATFORM_SDL2")
assert(Config.PlatformSDL2_Path)
EXAMPLE.Includes = Config.PlatformSDL2_Path .. "/include"
end