use minhook subproject instead of module

arch-pkg
FlightlessMango 1 year ago
parent 80b976b8cf
commit f74fc5779f

@ -229,8 +229,8 @@ else
endif endif
if ['windows', 'mingw'].contains(host_machine.system()) if ['windows', 'mingw'].contains(host_machine.system())
subdir('modules/minhook') minhook_sp = subproject('minhook')
inc_common += ( include_directories('modules/minhook/include')) minhook_dep = minhook_sp.get_variable('minhook_dep')
windows_deps = [ windows_deps = [
minhook_dep, minhook_dep,
] ]

@ -0,0 +1,5 @@
[wrap-git]
url = https://github.com/flightlessmango/minhook.git
revision = df6622659e366c63dfc9591245fa6a9a10ec4759
depth = 1
branch = master
Loading…
Cancel
Save