mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-10 18:22:11 +01:00
Merge pull request #19 from XSShawnZeng/master
Bug 5097243: Add nvJitLink lib for Windows
This commit is contained in:
commit
152ba4b941
@ -43,3 +43,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|||||||
${CUDAToolkit_LIBRARY_DIR}/libnvJitLink.so
|
${CUDAToolkit_LIBRARY_DIR}/libnvJitLink.so
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||||
|
target_link_libraries(jitLto PRIVATE
|
||||||
|
${CUDAToolkit_LIBRARY_DIR}/nvJitLink.lib
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user