Merge pull request #19 from XSShawnZeng/master

Bug 5097243: Add nvJitLink lib for Windows
This commit is contained in:
Rob Armstrong 2025-02-07 09:42:33 -08:00 committed by GitHub
commit 152ba4b941
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,3 +43,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
${CUDAToolkit_LIBRARY_DIR}/libnvJitLink.so
)
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
target_link_libraries(jitLto PRIVATE
${CUDAToolkit_LIBRARY_DIR}/nvJitLink.lib
)
endif()