Add curl as dependency to CMake config and pkg-config recipe.

This commit is contained in:
tastytea 2020-01-04 11:41:53 +01:00
parent 4acab9da5c
commit fe91665b82
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
include(CMakeFindDependencyMacro)
find_dependency(CURL REQUIRED)
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")

View File

@ -9,3 +9,4 @@ Description: @PROJECT_DESCRIPTION@
Version: @PROJECT_VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -l${name}
Requires: libcurl