[minhook] only windows (#22558)

This commit is contained in:
autoantwort 2022-01-18 22:42:39 +01:00 committed by GitHub
parent 9ae782c08c
commit 3554581458
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 18 deletions

View File

@ -1,5 +1,3 @@
vcpkg_fail_port_install(ON_TARGET "UWP")
if (VCPKG_TARGET_ARCHITECTURE MATCHES "x86")
set(BUILD_ARCH "Win32")
set(OUTPUT_DIR "Win32")
@ -29,15 +27,14 @@ vcpkg_from_github(
fix-usage.patch
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/minhook)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/minhook)
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,7 +1,17 @@
{
"name": "minhook",
"version-string": "1.3.3",
"port-version": 2,
"version": "1.3.3",
"port-version": 3,
"description": "The Minimalistic x86/x64 API Hooking Library for Windows.",
"supports": "!uwp"
"supports": "windows & !uwp & !arm",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -810,11 +810,6 @@ mhook:x64-linux=fail
mhook:x64-osx=fail
mhook:x64-uwp=fail
milerius-sfml-imgui:x64-windows-static=fail
minhook:arm64-windows=fail
minhook:arm-uwp=fail
minhook:x64-linux=fail
minhook:x64-osx=fail
minhook:x64-uwp=fail
minifb:arm-uwp=fail
minifb:x64-uwp=fail
minisat-master-keying:arm-uwp=fail

View File

@ -4406,7 +4406,7 @@
},
"minhook": {
"baseline": "1.3.3",
"port-version": 2
"port-version": 3
},
"minifb": {
"baseline": "2019-08-20",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "fea414bee13115e201fe93699ba5b55c7ae031b8",
"version": "1.3.3",
"port-version": 3
},
{
"git-tree": "8dbdd0ae999b8929af5e9df0cbae321bb0d71cea",
"version-string": "1.3.3",