summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-08 13:38:01 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-03-08 13:38:05 (GMT)
commit87f04b9572d64f1b96638c70a5a5b4e81478ae50 (patch)
tree50fdd032137639551cbf23ae2922982449800d95
parentc87be0c0358c4cad12cdcdea719e2f583f788bc8 (diff)
parent613b3e49a009c4b3c39909c803d2c8b383a8c14f (diff)
downloadCMake-87f04b9572d64f1b96638c70a5a5b4e81478ae50.zip
CMake-87f04b9572d64f1b96638c70a5a5b4e81478ae50.tar.gz
CMake-87f04b9572d64f1b96638c70a5a5b4e81478ae50.tar.bz2
Merge topic 'cuda-test-spelling'
613b3e49 CUDA: Fix spelling of CudaOnly.SeparateCompilation test targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !563
-rw-r--r--Tests/CudaOnly/SeparateCompilation/CMakeLists.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/Tests/CudaOnly/SeparateCompilation/CMakeLists.txt b/Tests/CudaOnly/SeparateCompilation/CMakeLists.txt
index d134b96..420d7a9 100644
--- a/Tests/CudaOnly/SeparateCompilation/CMakeLists.txt
+++ b/Tests/CudaOnly/SeparateCompilation/CMakeLists.txt
@@ -12,22 +12,22 @@ project (CudaOnlySeparateCompilation CUDA)
string(APPEND CMAKE_CUDA_FLAGS " -gencode arch=compute_30,code=compute_30")
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CUDA_STANDARD 11)
-add_library(CUDASerarateLibA STATIC file1.cu file2.cu file3.cu)
+add_library(CUDASeparateLibA STATIC file1.cu file2.cu file3.cu)
#Having file4/file5 in a shared library causes serious problems
#with the nvcc linker and it will generate bad entries that will
#cause a segv when trying to run the executable
#
-add_library(CUDASerarateLibB STATIC file4.cu file5.cu)
-target_link_libraries(CUDASerarateLibB PRIVATE CUDASerarateLibA)
+add_library(CUDASeparateLibB STATIC file4.cu file5.cu)
+target_link_libraries(CUDASeparateLibB PRIVATE CUDASeparateLibA)
add_executable(CudaOnlySeparateCompilation main.cu)
-target_link_libraries(CudaOnlySeparateCompilation PRIVATE CUDASerarateLibB)
+target_link_libraries(CudaOnlySeparateCompilation PRIVATE CUDASeparateLibB)
-set_target_properties( CUDASerarateLibA
- CUDASerarateLibB
+set_target_properties( CUDASeparateLibA
+ CUDASeparateLibB
PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
-set_target_properties( CUDASerarateLibA
- CUDASerarateLibB
+set_target_properties( CUDASeparateLibA
+ CUDASeparateLibB
PROPERTIES POSITION_INDEPENDENT_CODE ON)