summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/Complex
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-16 18:15:35 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2017-02-16 18:15:35 (GMT)
commitd1530cc9a5bf16c83d7ad9246d6a7e35a0235b3e (patch)
tree0e6a6ba6e0ec9eeb0e8ef5e97f086df97d61236a /Tests/Cuda/Complex
parentb9229944cf1b9f27e1fc97921e736ca17fc4eb0c (diff)
parent55fb46d273e8ab51d5df366286052c71b9008437 (diff)
downloadCMake-d1530cc9a5bf16c83d7ad9246d6a7e35a0235b3e.zip
CMake-d1530cc9a5bf16c83d7ad9246d6a7e35a0235b3e.tar.gz
CMake-d1530cc9a5bf16c83d7ad9246d6a7e35a0235b3e.tar.bz2
Merge topic 'cuda-msvc-flags'
55fb46d2 CUDA: Fix default compiler flags on Windows d7c80f60 CUDA: Fix test cases to not override CUDA flags
Diffstat (limited to 'Tests/Cuda/Complex')
-rw-r--r--Tests/Cuda/Complex/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Cuda/Complex/CMakeLists.txt b/Tests/Cuda/Complex/CMakeLists.txt
index 2dd6f73..450ef48 100644
--- a/Tests/Cuda/Complex/CMakeLists.txt
+++ b/Tests/Cuda/Complex/CMakeLists.txt
@@ -15,7 +15,7 @@ project (CudaComplex CXX CUDA)
#and also bulding cpp targets that need cuda implicit libraries
#verify that we can pass explicit cuda arch flags
-set(CMAKE_CUDA_FLAGS "-gencode arch=compute_30,code=compute_30")
+string(APPEND CMAKE_CUDA_FLAGS " -gencode arch=compute_30,code=compute_30")
set(CMAKE_CUDA_STANDARD 11)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CUDA_STANDARD_REQUIRED TRUE)