summaryrefslogtreecommitdiff
path: root/media-gfx/realesrgan-ncnn-vulkan/files/realesrgan-ncnn-vulkan-0.2.0-no-glslang-libs.patch
blob: ac8442f16518e19b3efa314a07e3d350a4995365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
With USE_SYSTEM_NCNN this seemingly(?) tries to check if glslang
libraries exists only to know if system ncnn has support which is
already ensured through DEPEND here.

And then the checks fail[1] with modern glslang, so yank out the
unnecessary block.

[1] https://bugs.gentoo.org/922511
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -99,3 +99,3 @@
 
-if(USE_SYSTEM_NCNN)
+if(0)
     set(GLSLANG_TARGET_DIR "GLSLANG-NOTFOUND" CACHE PATH "Absolute path to glslangTargets.cmake directory")