[mhook] only windows (#22559)

This commit is contained in:
autoantwort 2022-01-19 00:47:52 +01:00 committed by GitHub
parent 372e8d146b
commit 66765fd0f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 17 deletions

View File

@ -7,14 +7,13 @@ vcpkg_from_github(
PATCHES fix-windows-packing-mismatch.patch
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_install_cmake()
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/mhook RENAME copyright)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/mhook" RENAME copyright)

View File

@ -1,6 +1,13 @@
{
"name": "mhook",
"version-string": "2.5.1",
"port-version": 2,
"description": "A Windows API hooking library."
"version": "2.5.1",
"port-version": 3,
"description": "A Windows API hooking library.",
"supports": "windows & !uwp & !arm",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}

View File

@ -804,11 +804,6 @@ metis:arm-uwp=fail
metis:x64-uwp=fail
mfl:x64-linux=skip
mfl:x64-osx=skip
mhook:arm64-windows=fail
mhook:arm-uwp=fail
mhook:x64-linux=fail
mhook:x64-osx=fail
mhook:x64-uwp=fail
milerius-sfml-imgui:x64-windows-static=fail
minifb:arm-uwp=fail
minifb:x64-uwp=fail

View File

@ -4382,7 +4382,7 @@
},
"mhook": {
"baseline": "2.5.1",
"port-version": 2
"port-version": 3
},
"microsoft-signalr": {
"baseline": "0.1.0-alpha3",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5f4f5f56588f1c2b391e6c8766a4fa4dd713514d",
"version": "2.5.1",
"port-version": 3
},
{
"git-tree": "63acd5f7a94d6b86d9fb2b3642e0fbd253f21e47",
"version-string": "2.5.1",