From 9eb3ecb4d55013b283b6f9a00c898d6d224ef74b Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 3 Dec 2025 10:53:30 +0100 Subject: [PATCH] Revert "Download monado by URL instead of git" This reverts commit feecb97214c019187fd2b331b2c5595ee763eeb2. Applying patches is more fragile when working on plain directories. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 297b73d5..b7078d87 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -271,7 +271,9 @@ set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS monado-rev) file(STRINGS monado-rev MONADO_REV) # Server dependencies FetchContent_Declare(monado - URL https://gitlab.freedesktop.org/monado/monado/-/archive/${MONADO_REV}/monado-${MONADO_REV}.tar.gz + GIT_REPOSITORY https://gitlab.freedesktop.org/monado/monado.git + # The flatpak manifest is updated automatically + GIT_TAG ${MONADO_REV} PATCH_COMMAND ${CMAKE_CURRENT_LIST_DIR}/patches/apply.sh ${MONADO_PATCHES} EXCLUDE_FROM_ALL )