diff --git a/scripts/shaderc.lua b/scripts/shaderc.lua index a52f74bb..5f6d4e4f 100644 --- a/scripts/shaderc.lua +++ b/scripts/shaderc.lua @@ -50,7 +50,7 @@ project "shaderc" "Cocoa.framework", } - configuration { "windows", "vs*" } + configuration { "vs*" } includedirs { path.join(GLSL_OPTIMIZER, "include/c99"), } @@ -61,10 +61,9 @@ project "shaderc" } - configuration { "windows" } + configuration { "vs* or mingw*" } links { "d3dcompiler", - "dxguid", } configuration {} diff --git a/tools/shaderc/shaderc_hlsl.cpp b/tools/shaderc/shaderc_hlsl.cpp index a804586a..e20e0954 100644 --- a/tools/shaderc/shaderc_hlsl.cpp +++ b/tools/shaderc/shaderc_hlsl.cpp @@ -7,6 +7,7 @@ #if SHADERC_CONFIG_HLSL +#define INITGUID #include #include