summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Vandaƫle <joshua@vandaele.software>2026-11-24 03:26:18 +0100
committerJoshua Vandaƫle <joshua@vandaele.software>2026-11-24 03:27:46 +0100
commitbba828ee539da8a7110cfd5deb3629f0669a458a (patch)
tree4eb40fc53b738ef3e73970fb18fd968c325d1ac5
parent432b41f93cc77cc261a11fd182c74c21cfbcd149 (diff)
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 :)
-rw-r--r--Externals/cubeb/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
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