From 95a863a7e77d9483bad81e628b52326ab225989d Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Tue, 6 Feb 2024 13:51:58 -0700 Subject: [PATCH] CMake/MSVC: deploy cuda support for oidn if available --- source/creator/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 138e205f1fb..351464bbbd5 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -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.