From 8bc0607d59e8656e7130442b634f21444884ed6f Mon Sep 17 00:00:00 2001 From: Mike Popoloski Date: Fri, 14 Nov 2014 08:23:07 -0500 Subject: [PATCH] WinRT builds needs to static link against the D3D11 and DXGI libs. --- scripts/genie.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/genie.lua b/scripts/genie.lua index f79ab32e..29976c80 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -158,6 +158,10 @@ function exampleProject(_name) "gdi32", "psapi" } + links { + "d3d11", + "dxgi" + } linkoptions { "/ignore:4264" -- LNK4264: archiving object file compiled with /ZW into a static library; note that when authoring Windows Runtime types it is not recommended to link with a static library that contains Windows Runtime metadata }