mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
[minhook] only windows (#22558)
This commit is contained in:
parent
9ae782c08c
commit
3554581458
@ -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)
|
||||
|
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -4406,7 +4406,7 @@
|
||||
},
|
||||
"minhook": {
|
||||
"baseline": "1.3.3",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"minifb": {
|
||||
"baseline": "2019-08-20",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "fea414bee13115e201fe93699ba5b55c7ae031b8",
|
||||
"version": "1.3.3",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "8dbdd0ae999b8929af5e9df0cbae321bb0d71cea",
|
||||
"version-string": "1.3.3",
|
||||
|
Loading…
x
Reference in New Issue
Block a user