mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
fix usage (#26509)
This commit is contained in:
parent
55112eb54a
commit
3af5e21083
@ -40,4 +40,5 @@ file(REMOVE
|
||||
"${CURRENT_PACKAGES_DIR}/share/${PORT}/TODO"
|
||||
)
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING" "${SOURCE_PATH}/COPYING.LESSER")
|
||||
|
6
ports/mpfr/usage
Normal file
6
ports/mpfr/usage
Normal file
@ -0,0 +1,6 @@
|
||||
The package mpfr can be imported via CMake FindPkgConfig module:
|
||||
|
||||
find_package(PkgConfig)
|
||||
pkg_check_modules(mpfr REQUIRED IMPORTED_TARGET mpfr)
|
||||
|
||||
target_link_libraries(main PRIVATE PkgConfig::mpfr)
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "mpfr",
|
||||
"version": "4.1.0",
|
||||
"port-version": 5,
|
||||
"port-version": 6,
|
||||
"description": "The MPFR library is a C library for multiple-precision floating-point computations with correct rounding",
|
||||
"homepage": "https://www.mpfr.org",
|
||||
"license": "LGPL-3.0-or-later",
|
||||
|
@ -4758,7 +4758,7 @@
|
||||
},
|
||||
"mpfr": {
|
||||
"baseline": "4.1.0",
|
||||
"port-version": 5
|
||||
"port-version": 6
|
||||
},
|
||||
"mpg123": {
|
||||
"baseline": "1.29.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "0d41295a2963c8db8171724b2456dfaa2ec1a866",
|
||||
"version": "4.1.0",
|
||||
"port-version": 6
|
||||
},
|
||||
{
|
||||
"git-tree": "39b251ed109ce7a5787fe0e7235f9fe0ce436a09",
|
||||
"version": "4.1.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user