Debian Codegraph @

debian/patches/2001_cmake_coeurl.patch

raw symbols SCIP
1 Descriptionscip-debian debian nheko 0.12.1-1+ds+~0.10.1+ds+~1.0.0+ds+~0.3.2+ds-1 nheko/patches/`2001_cmake_coeurl.patch`#Description.: compile coeurl with CMake
2 The CMakeList disallows building outside of FetchContent,
3 but the way we're compiling it is essentially the same.
4 Authorscip-debian debian nheko 0.12.1-1+ds+~0.10.1+ds+~1.0.0+ds+~0.3.2+ds-1 nheko/patches/`2001_cmake_coeurl.patch`#Author.: Pablo Barciela
5 Reviewed-Byscip-debian debian nheko 0.12.1-1+ds+~0.10.1+ds+~1.0.0+ds+~0.3.2+ds-1 nheko/patches/`2001_cmake_coeurl.patch`#Reviewed-By.: Hubert Chathi <[email protected]>
6 Forwardedscip-debian debian nheko 0.12.1-1+ds+~0.10.1+ds+~1.0.0+ds+~0.3.2+ds-1 nheko/patches/`2001_cmake_coeurl.patch`#Forwarded.: not-needed
7 Last-Updatescip-debian debian nheko 0.12.1-1+ds+~0.10.1+ds+~1.0.0+ds+~0.3.2+ds-1 nheko/patches/`2001_cmake_coeurl.patch`#Last-Update.: 2024-03-17
8 ---
9 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
10 --- a/coeurl/CMakeLists.txtscip-debian debian nheko 0.12.1-1+ds+~0.10.1+ds+~1.0.0+ds+~0.3.2+ds-1 nheko/upstream/`coeurl/CMakeLists.txt`:
11 +++ b/coeurl/CMakeLists.txtscip-debian debian nheko 0.12.1-1+ds+~0.10.1+ds+~1.0.0+ds+~0.3.2+ds-1 nheko/upstream/`coeurl/CMakeLists.txt`:
12 @@ -31,10 +31,6 @@
13 HOMEPAGE_URL "https://nheko.im/nheko-reborn/cocurl"
14 LANGUAGES CXX)
15
16 -if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
17 - message(FATAL_ERROR "The CMake build for coeurl is not intended for installation or usage outside of FetchContent. Use meson instead.")
18 -endif()
19 -
20 add_library(coeurl lib/client.cpp lib/request.cpp lib/errors.cpp)
21 add_library(coeurl::coeurl ALIAS coeurl)
22 target_include_directories(coeurl PUBLIC