diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-05-11 23:10:50 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-05-11 23:10:50 +0200 |
commit | c4a154557bad4a610abfc3424d392cf2fd9c4cfa (patch) | |
tree | b261661d6d2266fc90c7004d984ffc53557a834d /premake5.lua | |
parent | Fix Windows build and premake (diff) | |
download | re3-c4a154557bad4a610abfc3424d392cf2fd9c4cfa.tar re3-c4a154557bad4a610abfc3424d392cf2fd9c4cfa.tar.gz re3-c4a154557bad4a610abfc3424d392cf2fd9c4cfa.tar.bz2 re3-c4a154557bad4a610abfc3424d392cf2fd9c4cfa.tar.lz re3-c4a154557bad4a610abfc3424d392cf2fd9c4cfa.tar.xz re3-c4a154557bad4a610abfc3424d392cf2fd9c4cfa.tar.zst re3-c4a154557bad4a610abfc3424d392cf2fd9c4cfa.zip |
Diffstat (limited to 'premake5.lua')
-rw-r--r-- | premake5.lua | 4 |
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") } |