mirror of
				https://github.com/NVIDIA/cuda-samples.git
				synced 2025-11-04 07:27:49 +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.
 | 
			
		||||
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)
 | 
			
		||||
    message(FATAL_ERROR "Found nvvm .h/.lib, but not .dll")
 | 
			
		||||
  endif()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user