mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 21:13:04 +02:00
graphics-hook: Link Detours library
This commit is contained in:
parent
0c25581cd3
commit
4de5863d07
@ -2,6 +2,7 @@ project(graphics-hook)
|
||||
|
||||
set(COMPILE_D3D12_HOOK FALSE CACHE BOOL "Compile D3D12 hook support (required windows 10 SDK)")
|
||||
|
||||
find_package(Detours REQUIRED)
|
||||
find_package(Vulkan REQUIRED)
|
||||
include_directories(${VULKAN_INCLUDE_DIR})
|
||||
|
||||
@ -55,7 +56,8 @@ target_include_directories(graphics-hook PUBLIC
|
||||
target_link_libraries(graphics-hook
|
||||
dxguid
|
||||
ipc-util
|
||||
psapi)
|
||||
psapi
|
||||
${DETOURS_LIBRARIES})
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(_output_suffix "64")
|
||||
|
Loading…
Reference in New Issue
Block a user