summaryrefslogtreecommitdiff
path: root/Modules/Compiler/NVIDIA-CUDA.cmake
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2016-08-29 13:28:37 -0400
committerRobert Maynard <robert.maynard@kitware.com>2016-11-14 11:36:43 -0500
commit4f5155f6aba7cb7cd8c0e5b75e43b38a70568eb1 (patch)
treef9985cf9906992c74390b8187fd9d4c3d371684e /Modules/Compiler/NVIDIA-CUDA.cmake
parentaaeee1ca72d4f8b09ebf98c3e3bd73d50c09c0d8 (diff)
downloadcmake-4f5155f6aba7cb7cd8c0e5b75e43b38a70568eb1.tar.gz
CUDA: We now properly perform CUDA compiler identification.
Diffstat (limited to 'Modules/Compiler/NVIDIA-CUDA.cmake')
-rw-r--r--Modules/Compiler/NVIDIA-CUDA.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/NVIDIA-CUDA.cmake b/Modules/Compiler/NVIDIA-CUDA.cmake
index ae511381b8..6f12ff2405 100644
--- a/Modules/Compiler/NVIDIA-CUDA.cmake
+++ b/Modules/Compiler/NVIDIA-CUDA.cmake
@@ -1,4 +1,4 @@
-set(CMAKE_CXX_VERBOSE_FLAG "-v")
+set(CMAKE_CUDA_VERBOSE_FLAG "-v -Xcompiler=-v")
set(CMAKE_CUDA_COMPILE_OPTIONS_PIE -Xcompiler=-fPIE)