diff --git a/components/nvidia/CMakeLists.txt b/components/nvidia/CMakeLists.txt index 8d76d064..f0565c05 100644 --- a/components/nvidia/CMakeLists.txt +++ b/components/nvidia/CMakeLists.txt @@ -43,6 +43,6 @@ target_link_libraries(${COMPONENT_TARGET} NVIDIA::VFX ) -if(NOT WINDOWS) +if(NOT D_PLATFORM_WINDOWS) streamfx_disable_component("NVIDIA" REASON "NVIDIA integration is (currently) only available for Windows under Direct3D11.") endif()