summaryrefslogtreecommitdiff
path: root/media-gfx/waifu2x-ncnn-vulkan/files/waifu2x-ncnn-vulkan-20220728-no-glslang-libs.patch
blob: 7743c4267180cdd657d9b72932c3eb8a9ff67b60 (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/922512
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -55,3 +55,3 @@
 
-if(USE_SYSTEM_NCNN)
+if(0)
     set(GLSLANG_TARGET_DIR "GLSLANG-NOTFOUND" CACHE PATH "Absolute path to glslangTargets.cmake directory")