summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-01-03 16:27:46 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-03 16:27:52 (GMT)
commit2c95cb3c2e99c5a6f58ca30195ac407ac164b336 (patch)
tree10be034e07220bbe6ffeb01eef8adce869fbb34f /Tests
parente7f3db6463460306b4ca56754d4f29638095b750 (diff)
parent568298a3366d1ddec38cada2378f86f5e9691e65 (diff)
downloadCMake-2c95cb3c2e99c5a6f58ca30195ac407ac164b336.zip
CMake-2c95cb3c2e99c5a6f58ca30195ac407ac164b336.tar.gz
CMake-2c95cb3c2e99c5a6f58ca30195ac407ac164b336.tar.bz2
Merge topic 'msvc_support_nvcc--compiler-options'
568298a336 CUDA: MSVC + NVCC support --compiler-options compiler flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4177
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CudaOnly/WithDefs/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CudaOnly/WithDefs/CMakeLists.txt b/Tests/CudaOnly/WithDefs/CMakeLists.txt
index 00fd7d2..ba9bf04 100644
--- a/Tests/CudaOnly/WithDefs/CMakeLists.txt
+++ b/Tests/CudaOnly/WithDefs/CMakeLists.txt
@@ -28,7 +28,7 @@ target_compile_options(CudaOnlyWithDefs
PRIVATE
-DFLAG_COMPILE_LANG_$<COMPILE_LANGUAGE>
-DFLAG_LANG_IS_CUDA=$<COMPILE_LANGUAGE:CUDA>
- -Xcompiler=-DHOST_DEFINE
+ --compiler-options=-DHOST_DEFINE
$<$<CONFIG:DEBUG>:$<BUILD_INTERFACE:${debug_compile_flags}>>
)