From 7df35f4064a8f2b005226a8f0cbe85042856b9b9 Mon Sep 17 00:00:00 2001 From: David Lane <42013603+ReenigneArcher@users.noreply.github.com> Date: Mon, 23 Mar 2026 18:44:14 -0400 Subject: [PATCH] build: fix build-deps tag matching (#4899) --- cmake/dependencies/ffmpeg.cmake | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmake/dependencies/ffmpeg.cmake b/cmake/dependencies/ffmpeg.cmake index e13518cf..16afa138 100644 --- a/cmake/dependencies/ffmpeg.cmake +++ b/cmake/dependencies/ffmpeg.cmake @@ -18,6 +18,13 @@ if(NOT DEFINED FFMPEG_PREPARED_BINARIES) # Determine download location set(FFMPEG_DOWNLOAD_DIR "${CMAKE_BINARY_DIR}/_deps") + # Fetch tags for the build-deps submodule so tag lookups work in CI shallow clones + execute_process( + COMMAND git -C "${CMAKE_SOURCE_DIR}/third-party/build-deps" fetch --tags --depth=1 + OUTPUT_QUIET + ERROR_QUIET + ) + # Get the current commit/tag from the build-deps submodule execute_process( COMMAND git -C "${CMAKE_SOURCE_DIR}/third-party/build-deps" describe --tags --exact-match