summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--premake5.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua
index 08ace524..f295c3d9 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -170,7 +170,9 @@ project "re3"
libdirs { "milessdk/lib" }
- setpaths("$(GTA_III_RE_DIR)/", "%(cfg.buildtarget.name)", "")
+ if(os.getenv("GTA_III_RE_DIR")) then
+ setpaths("$(GTA_III_RE_DIR)/", "%(cfg.buildtarget.name)", "")
+ end
filter "platforms:win*"
files { addSrcFiles("src/skel/win") }