2
0
Эх сурвалжийг харах

fix building glslang on platforms without <filesystem>

alula 1 жил өмнө
parent
commit
3cc3c0bd95

+ 1 - 1
thirdparty/glslang/glslang/Include/InfoSink.h

@@ -36,7 +36,7 @@
 #define _INFOSINK_INCLUDED_
 
 #include "../Include/Common.h"
-#include <filesystem>
+//#include <filesystem>
 #include <cmath>
 
 namespace glslang {

+ 10 - 1
thirdparty/glslang/glslang/patches/disable-absolute-paths-for-apple-compat.patch → thirdparty/glslang/patches/disable-absolute-paths-for-apple-compat.patch

@@ -1,7 +1,16 @@
 diff --git a/thirdparty/glslang/glslang/Include/InfoSink.h b/thirdparty/glslang/glslang/Include/InfoSink.h
-index 23f495dcb7..b1b537df54 100644
+index 23f495dc..137ede85 100644
 --- a/thirdparty/glslang/glslang/Include/InfoSink.h
 +++ b/thirdparty/glslang/glslang/Include/InfoSink.h
+@@ -36,7 +36,7 @@
+ #define _INFOSINK_INCLUDED_
+ 
+ #include "../Include/Common.h"
+-#include <filesystem>
++//#include <filesystem>
+ #include <cmath>
+ 
+ namespace glslang {
 @@ -101,14 +101,14 @@ public:
          snprintf(locText, maxSize, ":%d", loc.line);