summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCUDAInformation.cmake
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2016-08-29 17:28:37 (GMT)
committerRobert Maynard <robert.maynard@kitware.com>2016-11-14 16:36:43 (GMT)
commit4f5155f6aba7cb7cd8c0e5b75e43b38a70568eb1 (patch)
treef9985cf9906992c74390b8187fd9d4c3d371684e /Modules/CMakeCUDAInformation.cmake
parentaaeee1ca72d4f8b09ebf98c3e3bd73d50c09c0d8 (diff)
downloadCMake-4f5155f6aba7cb7cd8c0e5b75e43b38a70568eb1.zip
CMake-4f5155f6aba7cb7cd8c0e5b75e43b38a70568eb1.tar.gz
CMake-4f5155f6aba7cb7cd8c0e5b75e43b38a70568eb1.tar.bz2
CUDA: We now properly perform CUDA compiler identification.
Diffstat (limited to 'Modules/CMakeCUDAInformation.cmake')
-rw-r--r--Modules/CMakeCUDAInformation.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/CMakeCUDAInformation.cmake b/Modules/CMakeCUDAInformation.cmake
index 491c35b..d3278e7 100644
--- a/Modules/CMakeCUDAInformation.cmake
+++ b/Modules/CMakeCUDAInformation.cmake
@@ -7,10 +7,6 @@ set(CMAKE_INCLUDE_FLAG_CUDA "-I")
# Load compiler-specific information.
if(CMAKE_CUDA_COMPILER_ID)
include(Compiler/${CMAKE_CUDA_COMPILER_ID}-CUDA OPTIONAL)
-else()
- #couldn't id the cuda compile, fall back to the default setting
- set(CMAKE_CUDA_COMPILER_ID "NVidia")
- include(Compiler/NVidia-CUDA OPTIONAL)
endif()
# load the system- and compiler specific files