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, 3 insertions, 4 deletions
diff --git a/primedev/cmake/Findminhook.cmake b/primedev/cmake/Findminhook.cmake
index aaf66c92..155232a0 100644
--- a/primedev/cmake/Findminhook.cmake
+++ b/primedev/cmake/Findminhook.cmake
@@ -1,7 +1,6 @@
-
if(NOT minhook_FOUND)
- check_init_submodule(${PROJECT_SOURCE_DIR}/primedev/thirdparty/minhook)
+ check_init_submodule(${PROJECT_SOURCE_DIR}/primedev/thirdparty/minhook)
- add_subdirectory(${PROJECT_SOURCE_DIR}/primedev/thirdparty/minhook minhook)
- set(minhook_FOUND 1)
+ add_subdirectory(${PROJECT_SOURCE_DIR}/primedev/thirdparty/minhook minhook)
+ set(minhook_FOUND 1)
endif()