diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-01-03 16:43:26 -0500 |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2020-01-14 13:50:37 -0500 |
commit | 6e474364d19566d211aefed003840be15cba940e (patch) | |
tree | 7b6196495f78169b49fed4052042093e293b565a /Tests/Cuda/CMakeLists.txt | |
parent | 907bb7df57528e91a0dbcab331dfd9f07f28b660 (diff) | |
download | cmake-6e474364d19566d211aefed003840be15cba940e.tar.gz |
CUDAToolkit: No targets now depend on the CUDA runtime
It is not a requirement to have shared|static consistent across your
CUDA libraries (e.g curand, nppc ) and your CUDA runtime library.
It is entirely allowable to use a static nppc and a shared runtime.
Diffstat (limited to 'Tests/Cuda/CMakeLists.txt')
-rw-r--r-- | Tests/Cuda/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/Cuda/CMakeLists.txt b/Tests/Cuda/CMakeLists.txt index 35b9022493..e0f95361a5 100644 --- a/Tests/Cuda/CMakeLists.txt +++ b/Tests/Cuda/CMakeLists.txt @@ -13,4 +13,12 @@ ADD_TEST_MACRO(Cuda.Toolkit Toolkit) ADD_TEST_MACRO(Cuda.IncludePathNoToolkit IncludePathNoToolkit) ADD_TEST_MACRO(Cuda.ProperDeviceLibraries ProperDeviceLibraries) ADD_TEST_MACRO(Cuda.ProperLinkFlags ProperLinkFlags) +ADD_TEST_MACRO(Cuda.SharedRuntimePlusToolkit SharedRuntimePlusToolkit) + +# The CUDA only ships the shared version of the toolkit libraries +# on windows +if(NOT WIN32) + ADD_TEST_MACRO(Cuda.StaticRuntimePlusToolkit StaticRuntimePlusToolkit) +endif() + ADD_TEST_MACRO(Cuda.WithC CudaWithC) |