Files
looking-glass-2/host/platform/Windows/capture/NVFBC/CMakeLists.txt
T
Johnathon Weaver 0f998582b9 [host] nvfbc: Fix dwmapi linking error
Fixed linking for DwmFlush and also rearranged as per how DXGI is.
2022-01-07 01:46:35 +11:00

21 lines
357 B
CMake

cmake_minimum_required(VERSION 3.0)
project(capture_NVFBC LANGUAGES C CXX)
add_library(capture_NVFBC STATIC
src/nvfbc.c
src/wrapper.cpp
)
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
)