Add curl as dependency to CMake config and pkg-config recipe.
This commit is contained in:
parent
4acab9da5c
commit
fe91665b82
@ -1,5 +1,5 @@
|
|||||||
include(CMakeFindDependencyMacro)
|
include(CMakeFindDependencyMacro)
|
||||||
|
|
||||||
|
find_dependency(CURL REQUIRED)
|
||||||
|
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
||||||
|
@ -9,3 +9,4 @@ Description: @PROJECT_DESCRIPTION@
|
|||||||
Version: @PROJECT_VERSION@
|
Version: @PROJECT_VERSION@
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
Libs: -L${libdir} -l${name}
|
Libs: -L${libdir} -l${name}
|
||||||
|
Requires: libcurl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user