--- CMakeLists.txt | 3 +-- libshaderc/CMakeLists.txt | 2 ++ utils/update_build_version.sh | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) Index: shaderc-2023.2/CMakeLists.txt =================================================================== --- shaderc-2023.2.orig/CMakeLists.txt +++ shaderc-2023.2/CMakeLists.txt @@ -130,7 +130,6 @@ endif(MSVC) # Configure subdirectories. # We depend on these for later projects, so they should come first. -add_subdirectory(third_party) add_subdirectory(libshaderc_util) add_subdirectory(libshaderc) @@ -141,7 +140,7 @@ endif() add_custom_target(build-version ${PYTHON_EXECUTABLE} - ${CMAKE_CURRENT_SOURCE_DIR}/utils/update_build_version.py + ${CMAKE_CURRENT_SOURCE_DIR}/utils/update_build_version.sh ${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).") Index: shaderc-2023.2/libshaderc/CMakeLists.txt =================================================================== --- shaderc-2023.2.orig/libshaderc/CMakeLists.txt +++ shaderc-2023.2/libshaderc/CMakeLists.txt @@ -67,6 +67,8 @@ set(SHADERC_LIBS shaderc_util SPIRV # from glslang SPIRV-Tools + SPVRemapper + HLSL ) target_link_libraries(shaderc PRIVATE ${SHADERC_LIBS}) Index: shaderc-2023.2/utils/update_build_version.sh =================================================================== --- /dev/null +++ shaderc-2023.2/utils/update_build_version.sh @@ -0,0 +1 @@ +#!/bin/true