From b9b4dba686259633891784ce9882d331f90e1229 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sat, 30 Sep 2023 07:17:58 +0200 Subject: [PATCH] nvidia: Actually test for windows --- components/nvidia/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()