mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
[minitrace] fix cmake config (#21136)
This commit is contained in:
parent
4d03b83c0f
commit
d24ca043c5
@ -8,17 +8,17 @@ vcpkg_from_github(
|
||||
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(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
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)
|
||||
|
@ -1,6 +1,16 @@
|
||||
{
|
||||
"name": "minitrace",
|
||||
"version-string": "2019.02.06",
|
||||
"port-version": 1,
|
||||
"description": "Simple C/C++ library for producing JSON traces suitable for Chrome's built-in trace viewer."
|
||||
"port-version": 2,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -4350,7 +4350,7 @@
|
||||
},
|
||||
"minitrace": {
|
||||
"baseline": "2019.02.06",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"miniupnpc": {
|
||||
"baseline": "2.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a108afe478661d93adbf6ca758501a543d89f2b1",
|
||||
"version-string": "2019.02.06",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "673b7749d7e3be0b8f86b2f8452c5f548068add8",
|
||||
"version-string": "2019.02.06",
|
||||
|
Loading…
x
Reference in New Issue
Block a user