diff --git a/scripts/genie.lua b/scripts/genie.lua index 84c50db30..67a9dfab5 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -371,7 +371,10 @@ bgfxProject("", "StaticLib", {}) dofile(path.join(BX_DIR, "scripts/bx.lua")) dofile(path.join(BIMG_DIR, "scripts/bimg.lua")) dofile(path.join(BIMG_DIR, "scripts/bimg_decode.lua")) -dofile(path.join(BIMG_DIR, "scripts/bimg_encode.lua")) + +if _OPTIONS["with-tools"] then + dofile(path.join(BIMG_DIR, "scripts/bimg_encode.lua")) +end if _OPTIONS["with-examples"] or _OPTIONS["with-tools"] then group "examples"