From c827634ff0258de86be99b9a0ac3c6fd96a144c6 Mon Sep 17 00:00:00 2001 From: Will Usher Date: Sat, 28 Dec 2024 11:08:03 -0700 Subject: [PATCH] windows still needs --- backends/optix/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backends/optix/CMakeLists.txt b/backends/optix/CMakeLists.txt index f6066db..44e05e0 100644 --- a/backends/optix/CMakeLists.txt +++ b/backends/optix/CMakeLists.txt @@ -52,6 +52,10 @@ target_link_libraries(crt_optix PUBLIC display ${CUDA_LIBRARIES}) +if (WIN32) + target_link_libraries(crt_optix PUBLIC ${CUDA_CUDA_LIBRARY}) +endif() + install(TARGETS crt_optix LIBRARY DESTINATION bin)