diff options
author | tastytea | 2020-01-04 11:41:53 +0100 |
---|---|---|
committer | tastytea | 2020-01-04 11:46:10 +0100 |
commit | fe91665b82378dd084acb6f4264cc967e813fa50 (patch) | |
tree | 6f216ded91a5ca04bcf5c8490df614463270cb74 | |
parent | 4acab9da5c39ba757ff213203cf45aae9b06b5df (diff) | |
download | mastodonpp-fe91665b82378dd084acb6f4264cc967e813fa50.tar mastodonpp-fe91665b82378dd084acb6f4264cc967e813fa50.tar.gz mastodonpp-fe91665b82378dd084acb6f4264cc967e813fa50.zip |
Add curl as dependency to CMake config and pkg-config recipe.
-rw-r--r-- | cmake/mastodonppConfig.cmake.in | 2 | ||||
-rw-r--r-- | pkg-config/mastodonpp.pc.in | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cmake/mastodonppConfig.cmake.in b/cmake/mastodonppConfig.cmake.in index 1c07bc4..8c1180a 100644 --- a/cmake/mastodonppConfig.cmake.in +++ b/cmake/mastodonppConfig.cmake.in @@ -1,5 +1,5 @@ include(CMakeFindDependencyMacro) - +find_dependency(CURL REQUIRED) include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake") diff --git a/pkg-config/mastodonpp.pc.in b/pkg-config/mastodonpp.pc.in index 06429dd..49a4fde 100644 --- a/pkg-config/mastodonpp.pc.in +++ b/pkg-config/mastodonpp.pc.in @@ -9,3 +9,4 @@ Description: @PROJECT_DESCRIPTION@ Version: @PROJECT_VERSION@ Cflags: -I${includedir} Libs: -L${libdir} -l${name} +Requires: libcurl |