Index: ownCloud-3.1.0.9872/src/libsync/CMakeLists.txt --- ownCloud-3.1.0.9872/src/libsync/CMakeLists.txt.orig +++ ownCloud-3.1.0.9872/src/libsync/CMakeLists.txt @@ -3,12 +3,7 @@ set(LibreGraphAPIVersion v0.13.2) find_package(LibreGraphAPI QUIET) if (NOT TARGET OpenAPI::LibreGraphAPI) message(WARNING "Failed to find system OpenAPI::LibreGraphAPI: fetching ${LibreGraphAPIVersion}") - include(FetchContent) - FetchContent_Populate(LibreGraphAPISrc - QUIET - GIT_REPOSITORY https://github.com/owncloud/libre-graph-api-cpp-qt-client.git - GIT_TAG ${LibreGraphAPIVersion}) - add_subdirectory(${libregraphapisrc_SOURCE_DIR}/client ${libregraphapisrc_BINARY_DIR}/client EXCLUDE_FROM_ALL) + add_subdirectory(libregraphapisrc-src/client libregraphapisrc-src/client EXCLUDE_FROM_ALL) endif() set(libsync_SRCS