Skip to content
Snippets Groups Projects
Commit 652de072 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'test-CudaOnly.StaticRuntimePlusToolkit'


cb9fab49 Tests: Fix CudaOnly.StaticRuntimePlusToolkit build rpath

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !4901
parents e96b5e44 cb9fab49
No related branches found
No related tags found
No related merge requests found
......@@ -27,3 +27,9 @@ set_target_properties(MixedToolkit PROPERTIES CUDA_RUNTIME_LIBRARY Static)
add_executable(CudaOnlyStaticRuntimePlusToolkit main.cu)
target_link_libraries(CudaOnlyStaticRuntimePlusToolkit PRIVATE SharedToolkit StaticToolkit MixedToolkit)
if(UNIX)
# Help the shared cuda runtime find libcurand and libnppif when they are not located
# in a default system searched location
set_property(TARGET CudaOnlyStaticRuntimePlusToolkit PROPERTY BUILD_RPATH ${CMAKE_CUDA_IMPLICIT_LINK_DIRECTORIES})
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment