diff options
Diffstat (limited to 'cmake/Findminhook.cmake')
-rw-r--r-- | cmake/Findminhook.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/Findminhook.cmake b/cmake/Findminhook.cmake new file mode 100644 index 00000000..8ec2e99a --- /dev/null +++ b/cmake/Findminhook.cmake @@ -0,0 +1,8 @@ + +if(NOT minhook_FOUND) + check_init_submodule(${PROJECT_SOURCE_DIR}/thirdparty/minhook) + + add_subdirectory(${PROJECT_SOURCE_DIR}/thirdparty/minhook minhook) + set(minhook_FOUND 1 PARENT_SCOPE) +endif() + |