diff --git a/host/platform/Windows/capture/CMakeLists.txt b/host/platform/Windows/capture/CMakeLists.txt index 4d679fcb..7c1f59ca 100644 --- a/host/platform/Windows/capture/CMakeLists.txt +++ b/host/platform/Windows/capture/CMakeLists.txt @@ -18,14 +18,15 @@ if(NOT EXISTS "${nvfbc_sdk}/inc" OR NOT IS_DIRECTORY "${nvfbc_sdk}/inc") set(USE_NVFBC OFF) endif() -if(USE_D12) - add_capture("D12") -endif() - +# NOTE: the order here denotes the default if(USE_DXGI) add_capture("DXGI") endif() +if(USE_D12) + add_capture("D12") +endif() + if(USE_NVFBC) add_capture("NVFBC") endif()