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

9eed86a
diff -up shaderc-f76bb2f09f858c3014b329961d836964e515095d/CMakeLists.txt.orig shaderc-f76bb2f09f858c3014b329961d836964e515095d/CMakeLists.txt
9eed86a
--- shaderc-f76bb2f09f858c3014b329961d836964e515095d/CMakeLists.txt.orig        2020-01-22 21:15:53.000000000 +0100
9eed86a
+++ shaderc-f76bb2f09f858c3014b329961d836964e515095d/CMakeLists.txt     2020-02-02 21:06:15.193583552 +0100
9eed86a
@@ -92,7 +92,6 @@ endif(MSVC)
0862c53
 
0862c53
 # Configure subdirectories.
0862c53
 # We depend on these for later projects, so they should come first.
0862c53
-add_subdirectory(third_party)
0862c53
 
81471bb
 if(SHADERC_ENABLE_SPVC)
81471bb
 add_subdirectory(libshaderc_spvc)
9eed86a
@@ -103,11 +102,6 @@ add_subdirectory(libshaderc)
0862c53
 add_subdirectory(glslc)
0862c53
 add_subdirectory(examples)
0862c53
 
0862c53
-add_custom_target(build-version
81471bb
-  ${PYTHON_EXECUTABLE}
0862c53
-  ${CMAKE_CURRENT_SOURCE_DIR}/utils/update_build_version.py
9eed86a
-  ${shaderc_SOURCE_DIR} ${spirv-tools_SOURCE_DIR} ${glslang_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/build-version.inc
0862c53
-  COMMENT "Update build-version.inc in the Shaderc build directory (if necessary).")
9eed86a
 
81471bb
 function(define_pkg_config_file NAME LIBS)
81471bb
   add_custom_target(${NAME}-pkg-config ALL