| 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/`2002_httplib_pkgconfig.patch`#Description.: Use pkgconfig to find cpp-httplib |
| 2 |
Authorscip-debian debian nheko 0.12.1-1+ds+~0.10.1+ds+~1.0.0+ds+~0.3.2+ds-1 nheko/patches/`2002_httplib_pkgconfig.patch`#Author.: Hubert Chathi <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 |
Forwardedscip-debian debian nheko 0.12.1-1+ds+~0.10.1+ds+~1.0.0+ds+~0.3.2+ds-1 nheko/patches/`2002_httplib_pkgconfig.patch`#Forwarded.: not-needed |
| 4 |
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/`2002_httplib_pkgconfig.patch`#Last-Update.: 2024-03-17 |
| 5 |
--- |
| 6 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 7 |
--- a/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/`CMakeLists.txt`: |
| 8 |
+++ b/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/`CMakeLists.txt`: |
| 9 |
@@ -875,8 +875,9 @@ |
| 10 |
target_include_directories(nheko PRIVATE third_party/cpp-httplib-0.5.12) |
| 11 |
target_sources(nheko PRIVATE third_party/cpp-httplib-0.5.12/httplib.h) |
| 12 |
else() |
| 13 |
|
| 14 |
|
| 15 |
+ find_package(PkgConfig REQUIRED) |
| 16 |
+ pkg_check_modules(httplib REQUIRED IMPORTED_TARGET cpp-httplib) |
| 17 |
+ target_link_libraries(nheko PRIVATE PkgConfig::httplib) |
| 18 |
endif() |
| 19 |
|
| 20 |
if(USE_BUNDLED_BLURHASH) |