summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--premake5.lua2
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" }