20 lines
516 B
Diff
20 lines
516 B
Diff
|
---
|
||
|
CMakeLists.txt | 4 ----
|
||
|
1 file changed, 4 deletions(-)
|
||
|
|
||
|
Index: glslang-7.13.3496/CMakeLists.txt
|
||
|
===================================================================
|
||
|
--- glslang-7.13.3496.orig/CMakeLists.txt
|
||
|
+++ glslang-7.13.3496/CMakeLists.txt
|
||
|
@@ -163,10 +163,6 @@ if(BUILD_EXTERNAL AND IS_DIRECTORY ${CMA
|
||
|
add_subdirectory(External)
|
||
|
endif()
|
||
|
|
||
|
-if(NOT TARGET SPIRV-Tools-opt)
|
||
|
- set(ENABLE_OPT OFF)
|
||
|
-endif()
|
||
|
-
|
||
|
if(ENABLE_OPT)
|
||
|
message(STATUS "optimizer enabled")
|
||
|
add_definitions(-DENABLE_OPT=1)
|