diff --git a/scripts/genie.lua b/scripts/genie.lua index 053af6f0..f4dad61e 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -49,6 +49,14 @@ toolchain(BGFX_BUILD_DIR, BGFX_THIRD_PARTY_DIR) function copyLib() end +if _OPTIONS["with-sdl"] then + if os.is("windows") then + if not os.getenv("SDL2_DIR") then + print("Set SDL2_DIR enviroment variable.") + end + end +end + function exampleProject(_name) project ("example-" .. _name)