summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmake/mastodonppConfig.cmake.in2
-rw-r--r--pkg-config/mastodonpp.pc.in1
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