[minitrace] fix cmake config (#21136)

This commit is contained in:
autoantwort 2021-11-04 20:56:40 +01:00 committed by GitHub
parent 4d03b83c0f
commit d24ca043c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 11 deletions

View File

@ -8,17 +8,17 @@ vcpkg_from_github(
HEAD_REF master HEAD_REF master
) )
file(COPY ${CURRENT_PORT_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) file(COPY "${CURRENT_PORT_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
vcpkg_configure_cmake( vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH "${SOURCE_PATH}"
PREFER_NINJA
) )
vcpkg_install_cmake() vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
vcpkg_copy_pdbs() vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/minitrace RENAME copyright) file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/minitrace" RENAME copyright)

View File

@ -1,6 +1,16 @@
{ {
"name": "minitrace", "name": "minitrace",
"version-string": "2019.02.06", "version-string": "2019.02.06",
"port-version": 1, "port-version": 2,
"description": "Simple C/C++ library for producing JSON traces suitable for Chrome's built-in trace viewer." "description": "Simple C/C++ library for producing JSON traces suitable for Chrome's built-in trace viewer.",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
} }

View File

@ -4350,7 +4350,7 @@
}, },
"minitrace": { "minitrace": {
"baseline": "2019.02.06", "baseline": "2019.02.06",
"port-version": 1 "port-version": 2
}, },
"miniupnpc": { "miniupnpc": {
"baseline": "2.1", "baseline": "2.1",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "a108afe478661d93adbf6ca758501a543d89f2b1",
"version-string": "2019.02.06",
"port-version": 2
},
{ {
"git-tree": "673b7749d7e3be0b8f86b2f8452c5f548068add8", "git-tree": "673b7749d7e3be0b8f86b2f8452c5f548068add8",
"version-string": "2019.02.06", "version-string": "2019.02.06",