From 89eef364bb59e1eefb3d2726b438c299a8ae631a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 8 Jan 2017 18:20:00 -0800 Subject: [PATCH] Fixed build. --- scripts/shaderc.lua | 5 +++++ scripts/texturec.lua | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/scripts/shaderc.lua b/scripts/shaderc.lua index 9012d062f..5e68d8f44 100644 --- a/scripts/shaderc.lua +++ b/scripts/shaderc.lua @@ -147,6 +147,11 @@ project "shaderc" path.join(GLSL_OPTIMIZER, "include/c99"), } + configuration { "vs20* or mingw*" } + links { + "psapi", + } + configuration {} defines { -- fcpp diff --git a/scripts/texturec.lua b/scripts/texturec.lua index 3800caa6d..07184ed7d 100644 --- a/scripts/texturec.lua +++ b/scripts/texturec.lua @@ -49,4 +49,9 @@ project "texturec" "Cocoa.framework", } + configuration { "vs20* or mingw*" } + links { + "psapi", + } + configuration {}