Blame SOURCES/0001-Drop-third-party-code-in-CMakeLists.txt.patch

98fcfa
diff -up shaderc-24275a11d81a6b33ef345878f8a4ef929c95a116/CMakeLists.txt.orig shaderc-24275a11d81a6b33ef345878f8a4ef929c95a116/CMakeLists.txt
98fcfa
--- shaderc-24275a11d81a6b33ef345878f8a4ef929c95a116/CMakeLists.txt.orig	2021-03-05 13:50:35.469018657 +0100
98fcfa
+++ shaderc-24275a11d81a6b33ef345878f8a4ef929c95a116/CMakeLists.txt	2021-03-05 13:52:02.679524176 +0100
98fcfa
@@ -112,20 +112,10 @@ endif(MSVC)
98fcfa
 
98fcfa
 # Configure subdirectories.
98fcfa
 # We depend on these for later projects, so they should come first.
98fcfa
-add_subdirectory(third_party)
98fcfa
 
98fcfa
 add_subdirectory(libshaderc_util)
98fcfa
 add_subdirectory(libshaderc)
98fcfa
 add_subdirectory(glslc)
98fcfa
-if(${SHADERC_ENABLE_EXAMPLES})
98fcfa
-    add_subdirectory(examples)
98fcfa
-endif()
98fcfa
-
98fcfa
-add_custom_target(build-version
98fcfa
-  ${PYTHON_EXECUTABLE}
98fcfa
-  ${CMAKE_CURRENT_SOURCE_DIR}/utils/update_build_version.py
98fcfa
-  ${shaderc_SOURCE_DIR} ${spirv-tools_SOURCE_DIR} ${glslang_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/build-version.inc
98fcfa
-  COMMENT "Update build-version.inc in the Shaderc build directory (if necessary).")
98fcfa
 
98fcfa
 function(define_pkg_config_file NAME LIBS)
98fcfa
   add_custom_target(${NAME}-pkg-config ALL