From c4a154557bad4a610abfc3424d392cf2fd9c4cfa Mon Sep 17 00:00:00 2001 From: eray orçunus Date: Tue, 12 May 2020 00:10:50 +0300 Subject: Fix appveyor (hopefully) --- premake5.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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") } -- cgit v1.2.3