14 lines
582 B
Diff
14 lines
582 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index a234caa..cd9d2c5 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -114,6 +114,8 @@ if(USE_SYSTEM_NCNN)
|
||
|
include("${GLSLANG_TARGET_DIR}/HLSLTargets.cmake")
|
||
|
endif()
|
||
|
include("${GLSLANG_TARGET_DIR}/glslangTargets.cmake")
|
||
|
+ include("${GLSLANG_TARGET_DIR}/SPIRV-Tools/SPIRV-ToolsTarget.cmake")
|
||
|
+ include("${GLSLANG_TARGET_DIR}/SPIRV-Tools-opt/SPIRV-Tools-optTargets.cmake")
|
||
|
include("${GLSLANG_TARGET_DIR}/SPIRVTargets.cmake")
|
||
|
|
||
|
if (NOT TARGET glslang OR NOT TARGET SPIRV)
|