glslang/fix_relative_header_paths.patch

38 lines
1010 B
Diff

From b5d9dee710f2bda42afbc6f2ce84b5836908d021 Mon Sep 17 00:00:00 2001
From: John Kessenich <cepheus@frii.com>
Date: Mon, 9 Dec 2019 03:12:10 -0700
Subject: [PATCH] Fix #2007: Fix a couple relative header paths in header
files.
---
SPIRV/GlslangToSpv.h | 2 +-
SPIRV/SpvTools.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/SPIRV/GlslangToSpv.h b/SPIRV/GlslangToSpv.h
index 86e1c23bf..3907be43b 100755
--- a/SPIRV/GlslangToSpv.h
+++ b/SPIRV/GlslangToSpv.h
@@ -40,7 +40,7 @@
#endif
#include "SpvTools.h"
-#include "../glslang/Include/intermediate.h"
+#include "glslang/Include/intermediate.h"
#include <string>
#include <vector>
diff --git a/SPIRV/SpvTools.h b/SPIRV/SpvTools.h
index 7422d0126..59c914da0 100644
--- a/SPIRV/SpvTools.h
+++ b/SPIRV/SpvTools.h
@@ -46,7 +46,7 @@
#include <ostream>
#endif
-#include "../glslang/MachineIndependent/localintermediate.h"
+#include "glslang/MachineIndependent/localintermediate.h"
#include "Logger.h"
namespace glslang {