summaryrefslogtreecommitdiff
path: root/shaderc/0001-Drop-third-party-code-in-CMakeLists.txt.patch
blob: 541bcc04514628d11f3aad388532c3949b769b53 (plain)
    1 diff -up shaderc-f76bb2f09f858c3014b329961d836964e515095d/CMakeLists.txt.orig shaderc-f76bb2f09f858c3014b329961d836964e515095d/CMakeLists.txt
    2 --- shaderc-f76bb2f09f858c3014b329961d836964e515095d/CMakeLists.txt.orig        2020-01-22 21:15:53.000000000 +0100
    3 +++ shaderc-f76bb2f09f858c3014b329961d836964e515095d/CMakeLists.txt     2020-02-02 21:06:15.193583552 +0100
    4 @@ -98,7 +98,6 @@ endif(MSVC)
    5  
    6  # Configure subdirectories.
    7  # We depend on these for later projects, so they should come first.
    8 -add_subdirectory(third_party)
    9  
   10  if(SHADERC_ENABLE_SPVC)
   11  add_subdirectory(libshaderc_spvc)
   12 @@ -107,13 +106,6 @@ endif()
   13  add_subdirectory(libshaderc_util)
   14  add_subdirectory(libshaderc)
   15  add_subdirectory(glslc)
   16 -add_subdirectory(examples)
   17 -
   18 -add_custom_target(build-version
   19 -  ${PYTHON_EXECUTABLE}
   20 -  ${CMAKE_CURRENT_SOURCE_DIR}/utils/update_build_version.py
   21 -  ${shaderc_SOURCE_DIR} ${spirv-tools_SOURCE_DIR} ${glslang_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/build-version.inc
   22 -  COMMENT "Update build-version.inc in the Shaderc build directory (if necessary).")
   23  
   24  function(define_pkg_config_file NAME LIBS)
   25    add_custom_target(${NAME}-pkg-config ALL

Generated by cgit