TmpMenu/scripts/minhook.cmake
tupoy-ya bc05ecd78c refactor!: Replace premake5 with CMake. (#551)
Co-authored-by: tupoy-ya <tupoy-ya@users.noreply.github.com>
2022-11-08 21:08:58 +00:00

12 lines
308 B
CMake

include(FetchContent)
FetchContent_Declare(
minhook
GIT_REPOSITORY https://github.com/YimMenu/minhook.git
GIT_TAG 902ab63e0a771547961e132ccc0700d62e2a1423
GIT_PROGRESS TRUE
)
message("MinHook")
FetchContent_MakeAvailable(minhook)
set_property(TARGET minhook PROPERTY CXX_STANDARD 23)