From 3e5f6095a033b061322d5bd08b98cca86b546e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 10 Dec 2015 22:58:31 -0800 Subject: [PATCH] Updated GENie script. --- scripts/genie.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/genie.lua b/scripts/genie.lua index 9512cc59..eb30fc5a 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -70,6 +70,12 @@ local BGFX_BUILD_DIR = path.join(BGFX_DIR, ".build") local BGFX_THIRD_PARTY_DIR = path.join(BGFX_DIR, "3rdparty") BX_DIR = path.getabsolute(path.join(BGFX_DIR, "../bx")) +if not os.isdir(BX_DIR) then + print("bx not found at " .. BX_DIR) + print("For more info see: https://bkaradzic.github.io/bgfx/build.html") + os.exit() +end + defines { "BX_CONFIG_ENABLE_MSVC_LEVEL4_WARNINGS=1" }