mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Added warning when SDL2_DIR env var is not set on Windows.
This commit is contained in:
parent
7fa124eeab
commit
d305fbefc3
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue