forked from pool/glslang
Jan Engelhardt
1c4c0f91aa
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=63
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)
|