40754aafe9
fixes #289910 Updates build for glslang 14.0.0
15 lines
624 B
Diff
15 lines
624 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 1e7b71a..e743ab0 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -106,9 +106,9 @@ if(USE_SYSTEM_NCNN)
|
|
message(STATUS "Using glslang install located at ${GLSLANG_TARGET_DIR}")
|
|
|
|
find_package(Threads)
|
|
+ find_package(SPIRV-Tools-opt REQUIRED)
|
|
|
|
include("${GLSLANG_TARGET_DIR}/OSDependentTargets.cmake")
|
|
- include("${GLSLANG_TARGET_DIR}/OGLCompilerTargets.cmake")
|
|
if(EXISTS "${GLSLANG_TARGET_DIR}/HLSLTargets.cmake")
|
|
# hlsl support can be optional
|
|
include("${GLSLANG_TARGET_DIR}/HLSLTargets.cmake")
|