From 6009eb8481c874712f56f0ce186fca1d0bfa2637 Mon Sep 17 00:00:00 2001 From: altalk23 <45172705+altalk23@users.noreply.github.com> Date: Tue, 13 Dec 2022 08:00:29 +0300 Subject: [PATCH] add tuliphook as cpm --- loader/CMakeLists.txt | 3 ++- loader/tuliphook | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 160000 loader/tuliphook diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt index b144544a..2a05c88f 100644 --- a/loader/CMakeLists.txt +++ b/loader/CMakeLists.txt @@ -130,7 +130,8 @@ CPMAddPackage("gh:mity/md4c#e9ff661") target_include_directories(${PROJECT_NAME} PRIVATE ${md4c_SOURCE_DIR}/src) # Tulip hook (hooking) -add_subdirectory(tuliphook) +CPMAddPackage("gh:altalk23/TulipHook#92b3cca") + target_link_libraries(${PROJECT_NAME} md4c z TulipHook geode-sdk) # Use precompiled headers for faster builds diff --git a/loader/tuliphook b/loader/tuliphook deleted file mode 160000 index 92b3cca3..00000000 --- a/loader/tuliphook +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 92b3cca336285ab9028b3e7f59089e6cd215be27