miniupnpc: add Homepage url, version and desc in miniupnpc.pc generated by CMake build
This commit is contained in:
parent
5a398006b9
commit
9350846757
|
@ -4,6 +4,8 @@ project (miniupnpc C)
|
|||
|
||||
set (MINIUPNPC_VERSION 2.2.3)
|
||||
set (MINIUPNPC_API_VERSION 17)
|
||||
set (MINIUPNPC_DESCRIPTION "UPnP IGD client lightweight library")
|
||||
set (MINIUPNPC_HOMEPAGE_URL https://miniupnp.tuxfamily.org/)
|
||||
|
||||
option (UPNPC_BUILD_STATIC "Build static library" TRUE)
|
||||
option (UPNPC_BUILD_SHARED "Build shared library" TRUE)
|
||||
|
|
|
@ -11,8 +11,8 @@ libdir="${prefix}/lib"
|
|||
includedir="${prefix}/include"
|
||||
|
||||
Name: @PROJECT_NAME@
|
||||
Description: @CMAKE_PROJECT_DESCRIPTION@
|
||||
URL: @CMAKE_PROJECT_HOMEPAGE_URL@
|
||||
Version: @PROJECT_VERSION@
|
||||
Description: @MINIUPNPC_DESCRIPTION@
|
||||
URL: @MINIUPNPC_HOMEPAGE_URL@
|
||||
Version: @MINIUPNPC_VERSION@
|
||||
Libs: -L"${libdir}" -lminiupnpc
|
||||
Cflags: -I"${includedir}"
|
||||
|
|
Loading…
Reference in New Issue