Add support for hybrid graphics systems (NVIDIA Optimus) (#782)
This commit is contained in:
parent
1fbbab9df7
commit
49fc618682
4 changed files with 281 additions and 1 deletions
|
|
@ -27,3 +27,12 @@ target_link_libraries(sunshinesvc
|
|||
wtsapi32
|
||||
${PLATFORM_LIBRARIES})
|
||||
target_compile_options(sunshinesvc PRIVATE ${SUNSHINE_COMPILE_OPTIONS})
|
||||
|
||||
add_executable(ddprobe ddprobe.cpp)
|
||||
set_target_properties(ddprobe PROPERTIES CXX_STANDARD 17)
|
||||
target_link_libraries(ddprobe
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
dxgi
|
||||
d3d11
|
||||
${PLATFORM_LIBRARIES})
|
||||
target_compile_options(ddprobe PRIVATE ${SUNSHINE_COMPILE_OPTIONS})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue