Specify an RPATH for CUDA runtime on OSX so tests will run
This commit is contained in:
parent
cb3e821a60
commit
1019ace8e2
@ -292,6 +292,11 @@ function(vtkm_library)
|
||||
set_property(TARGET ${lib_name} PROPERTY CXX_VISIBILITY_PRESET "hidden")
|
||||
endif()
|
||||
|
||||
# allow the static cuda runtime find the driver (libcuda.dyllib) at runtime.
|
||||
if(APPLE)
|
||||
set_property(TARGET ${lib_name} PROPERTY BUILD_RPATH ${CMAKE_CUDA_IMPLICIT_LINK_DIRECTORIES})
|
||||
endif()
|
||||
|
||||
# Setup the SOVERSION and VERSION information for this vtkm library
|
||||
set_property(TARGET ${lib_name} PROPERTY VERSION 1)
|
||||
set_property(TARGET ${lib_name} PROPERTY SOVERSION 1)
|
||||
|
Loading…
Reference in New Issue
Block a user