Merge pull request #534 from blattersturm/patch/fix-premake-help

fix premake failing if not passing any action (such as with --help)
This commit is contained in:
aap 2020-05-11 10:17:59 +02:00 committed by GitHub
commit 18b6905f24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" }