[host] nvfbc: Fix dwmapi linking error

Fixed linking for DwmFlush and also rearranged as per how DXGI is.
This commit is contained in:
Johnathon Weaver 2022-01-06 21:41:21 +08:00 committed by Geoffrey McRae
parent 7263159428
commit 0f998582b9

View File

@ -9,11 +9,12 @@ add_library(capture_NVFBC STATIC
file(TO_CMAKE_PATH "${NVFBC_SDK}" nvfbc_sdk)
include_directories(file, "${nvfbc_sdk}/inc")
target_link_libraries(capture_NVFBC
platform_Windows
dwmapi
)
target_include_directories(capture_NVFBC
PRIVATE
src
)
target_link_libraries(capture_NVFBC
platform_Windows
)