mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-02-04 16:55:37 +00:00
10 lines
399 B
CMake
10 lines
399 B
CMake
# windows specific dependencies
|
|
|
|
# Make sure MinHook is installed
|
|
find_library(MINHOOK_LIBRARY libMinHook.a REQUIRED)
|
|
find_path(MINHOOK_INCLUDE_DIR MinHook.h PATH_SUFFIXES include REQUIRED)
|
|
|
|
add_library(minhook::minhook STATIC IMPORTED)
|
|
set_property(TARGET minhook::minhook PROPERTY IMPORTED_LOCATION ${MINHOOK_LIBRARY})
|
|
target_include_directories(minhook::minhook INTERFACE ${MINHOOK_INCLUDE_DIR})
|