diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2020-02-27 10:22:03 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-27 22:44:39 -0300 |
| commit | 443f4644ae1d2003cfe2b03f4eb4a2bc9514449f (patch) | |
| tree | 779f95ba0ddafb44bf43978c44c197cf416cbdcc /community/shaderc/third-party.patch | |
| parent | ebc102a48ad19dc82b0d32c777b3b8778c6ef519 (diff) | |
| download | aports-443f4644ae1d2003cfe2b03f4eb4a2bc9514449f.tar.bz2 aports-443f4644ae1d2003cfe2b03f4eb4a2bc9514449f.tar.xz | |
community/shaderc: upgrade to 2019.1
Diffstat (limited to 'community/shaderc/third-party.patch')
| -rw-r--r-- | community/shaderc/third-party.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/shaderc/third-party.patch b/community/shaderc/third-party.patch new file mode 100644 index 0000000000..6d4c1df495 --- /dev/null +++ b/community/shaderc/third-party.patch @@ -0,0 +1,24 @@ +diff -up shaderc-f76bb2f09f858c3014b329961d836964e515095d/CMakeLists.txt.orig shaderc-f76bb2f09f858c3014b329961d836964e515095d/CMakeLists.txt +--- shaderc-f76bb2f09f858c3014b329961d836964e515095d/CMakeLists.txt.orig 2020-01-22 21:15:53.000000000 +0100 ++++ shaderc-f76bb2f09f858c3014b329961d836964e515095d/CMakeLists.txt 2020-02-02 21:06:15.193583552 +0100 +@@ -92,7 +92,6 @@ endif(MSVC) + + # Configure subdirectories. + # We depend on these for later projects, so they should come first. +-add_subdirectory(third_party) + + if(SHADERC_ENABLE_SPVC) + add_subdirectory(libshaderc_spvc) +@@ -103,11 +102,6 @@ add_subdirectory(libshaderc) + add_subdirectory(glslc) + add_subdirectory(examples) + +-add_custom_target(build-version +- ${PYTHON_EXECUTABLE} +- ${CMAKE_CURRENT_SOURCE_DIR}/utils/update_build_version.py +- ${shaderc_SOURCE_DIR} ${spirv-tools_SOURCE_DIR} ${glslang_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/build-version.inc +- COMMENT "Update build-version.inc in the Shaderc build directory (if necessary).") + + function(define_pkg_config_file NAME LIBS) + add_custom_target(${NAME}-pkg-config ALL + |
