blob: d9762292e88124cffffa63afdaf4d1b18c8be4c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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
|