diff options
author | aap <aap@papnet.eu> | 2020-05-11 10:17:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 10:17:59 +0200 |
commit | 18b6905f247934a54b0d33e8d96dbad8483fa60f (patch) | |
tree | 745d1e458825357df0877e36e297e59cfe934e85 | |
parent | b11715608f5d12d82ecb364b0d2dc76c24d6ab1f (diff) | |
parent | 2c147608e42c96c51ebf8488e7544c3dd316303b (diff) |
Merge pull request #534 from blattersturm/patch/fix-premake-help
fix premake failing if not passing any action (such as with --help)
-rw-r--r-- | premake5.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua index fbd2e011..458abc8f 100644 --- a/premake5.lua +++ b/premake5.lua @@ -196,5 +196,5 @@ project "re3" filter "platforms:*gl3_glfw*" libdirs { path.join(_OPTIONS["glewdir"], "lib/Release/Win32") } - libdirs { path.join(_OPTIONS["glfwdir"], "lib-" .. string.gsub(_ACTION, "vs", "vc")) } + libdirs { path.join(_OPTIONS["glfwdir"], "lib-" .. string.gsub(_ACTION or '', "vs", "vc")) } links { "opengl32", "glew32s", "glfw3" } |