Bug 5097243: Add nvJitLink lib for Windows

This commit is contained in:
shawnz 2025-02-07 17:28:10 +08:00
parent c7bfd4418b
commit a8138b60fe

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