CMake/MSVC: deploy cuda support for oidn if available

This commit is contained in:
Ray Molenkamp
2024-02-06 13:51:58 -07:00
parent 31d55e87f9
commit 95a863a7e7

View File

@@ -598,6 +598,12 @@ if(WIN32)
${LIBDIR}/OpenImageDenoise/bin/OpenImageDenoise_device_hip.dll
)
endif()
if(EXISTS ${LIBDIR}/OpenImageDenoise/bin/OpenImageDenoise_device_cuda.dll) # 4.1
windows_install_shared_manifest(
FILES
${LIBDIR}/OpenImageDenoise/bin/OpenImageDenoise_device_cuda.dll
)
endif()
endif()
# Show helpful tip.