aboutsummaryrefslogtreecommitdiff
path: root/primedev/cmake/Findminhook.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'primedev/cmake/Findminhook.cmake')
-rw-r--r--primedev/cmake/Findminhook.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/primedev/cmake/Findminhook.cmake b/primedev/cmake/Findminhook.cmake
new file mode 100644
index 00000000..aaf66c92
--- /dev/null
+++ b/primedev/cmake/Findminhook.cmake
@@ -0,0 +1,7 @@
+
+if(NOT minhook_FOUND)
+ check_init_submodule(${PROJECT_SOURCE_DIR}/primedev/thirdparty/minhook)
+
+ add_subdirectory(${PROJECT_SOURCE_DIR}/primedev/thirdparty/minhook minhook)
+ set(minhook_FOUND 1)
+endif()