mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-08-23 23:40:31 +08:00
Merge branch 'shawnz_bugs_fix_cuda_a_dev' into 'cuda_a_dev'
Bug 5214721: Correct the path of nvvm64_40_0.dll See merge request cuda-samples/cuda-samples!104
This commit is contained in:
commit
9e50fdc01f
@ -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