From bba828ee539da8a7110cfd5deb3629f0669a458a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Vanda=C3=ABle?= Date: Tue, 24 Nov 2026 03:26:18 +0100 Subject: [PATCH] Externals/cubeb: Remove GIT_SHALLOW option to prevent shallow clone failures Reverts #15056, and adds a comment so I don't forget why I do things again :) --- Externals/cubeb/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Externals/cubeb/CMakeLists.txt b/Externals/cubeb/CMakeLists.txt index 7493c9e6ea..a07c133013 100644 --- a/Externals/cubeb/CMakeLists.txt +++ b/Externals/cubeb/CMakeLists.txt @@ -2,8 +2,9 @@ find_package(Git REQUIRED) dolphin_fetchcontent_declare( cubeb GIT_REPOSITORY https://github.com/mozilla/cubeb.git + # We don't use GIT_SHALLOW here since GIT_TAG refers to a commit that's not a tag, + # which means a shallow clone would fail. GIT_TAG dcd7cddafa4b95776cf5d117549ad58e17f23764 - GIT_SHALLOW TRUE # PATCH: This fixes an issue when using the Ninja generator. # See https://github.com/mozilla/cubeb/pull/807 for further details. PATCH_COMMAND ${GIT_EXECUTABLE} apply ${CMAKE_CURRENT_LIST_DIR}/cubeb.patch