mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 05:49:01 +08:00
4953c8a3c0
* fix minhook lib faild to load when tring to be included in a project * fix usage issue
11 lines
495 B
Diff
11 lines
495 B
Diff
diff --git a/cmake/minhook-config.cmake.in b/cmake/minhook-config.cmake.in
|
|
index 14e6463..28fa17c 100644
|
|
--- a/cmake/minhook-config.cmake.in
|
|
+++ b/cmake/minhook-config.cmake.in
|
|
@@ -36,4 +36,4 @@ set(MINHOOK_FOUND ON)
|
|
set_and_check(MINHOOK_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include/")
|
|
set_and_check(MINHOOK_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/lib")
|
|
|
|
-include("${PACKAGE_PREFIX_DIR}/lib/minhook/minhook-targets.cmake")
|
|
+include("${CMAKE_CURRENT_LIST_DIR}/minhook-targets.cmake")
|