Files
looking-glass-2/host/platform/Windows/capture/NVFBC/CMakeLists.txt
T
Geoffrey McRae a41ab81a90 [host] nvfbc: try all NVIDIA adapters in the system
This will allow LG to start if the VM still has a virtual device as
the primary output.
2022-05-18 16:27:17 +10:00

22 lines
363 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
d3d9
)
target_include_directories(capture_NVFBC
PRIVATE
src
)