nvidia: Actually test for windows

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2023-09-30 07:17:58 +02:00 committed by Xaymar
parent df70723884
commit b9b4dba686
1 changed files with 1 additions and 1 deletions

View File

@ -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()