[enet] export .pc file (#32316)

* export .pc file

* update
This commit is contained in:
Mengna Li 2023-07-06 02:40:31 +08:00 committed by GitHub
parent ef7202aff9
commit 99ce9f2f2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 2 deletions

View File

@ -88,6 +88,9 @@ endif()
set(ENET_CMAKE_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/enet)
configure_file ("${CMAKE_SOURCE_DIR}/libenet.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/libenet.pc" @ONLY)
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/libenet.pc" DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")
install(TARGETS enet EXPORT unofficial-enet-config
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib

View File

@ -1,7 +1,7 @@
{
"name": "enet",
"version": "1.3.17",
"port-version": 1,
"port-version": 2,
"description": "Reliable UDP networking library",
"homepage": "https://github.com/lsalzman/enet",
"dependencies": [

View File

@ -2322,7 +2322,7 @@
},
"enet": {
"baseline": "1.3.17",
"port-version": 1
"port-version": 2
},
"ensmallen": {
"baseline": "2.19.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "17a08430b1e76eae1ff5ea036084bee2d9a09775",
"version": "1.3.17",
"port-version": 2
},
{
"git-tree": "a31699670612c88cdf69dd80af975d44c10ac1f6",
"version": "1.3.17",