mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-08-23 23:35:31 +08:00
Bug 5214721: Correct the path of nvvm64_40_0.dll
This commit is contained in:
parent
83397dc811
commit
2c0b36a967
@ -93,7 +93,7 @@ message(STATUS "Using rpath: ${CMAKE_INSTALL_RPATH}")
|
|||||||
|
|
||||||
# On Windows, locate the nvvm.dll so we can install it.
|
# On Windows, locate the nvvm.dll so we can install it.
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
find_file(NVVM_DLL nvvm64_40_0.dll PATHS "${LIBNVVM_HOME}/bin" "${CUDA_HOME}/bin/x64/")
|
find_file(NVVM_DLL nvvm64_40_0.dll PATHS "${LIBNVVM_HOME}/bin" "${LIBNVVM_HOME}/bin/x64/")
|
||||||
if (NOT NVVM_DLL)
|
if (NOT NVVM_DLL)
|
||||||
message(FATAL_ERROR "Found nvvm .h/.lib, but not .dll")
|
message(FATAL_ERROR "Found nvvm .h/.lib, but not .dll")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user