summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-02 15:14:57 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-04-02 15:15:44 (GMT)
commite7f58eff27ded2dad51e5919b6669c6b35b7134f (patch)
treec7f557ae69d8c98b882b7d36a7468a0f7f082460 /Source
parent3667366171afa126b27b7c1ffac237dfcc9a6e15 (diff)
parente758331595bd036a4d29a5df421b6c6a4900cea7 (diff)
downloadCMake-e7f58eff27ded2dad51e5919b6669c6b35b7134f.zip
CMake-e7f58eff27ded2dad51e5919b6669c6b35b7134f.tar.gz
CMake-e7f58eff27ded2dad51e5919b6669c6b35b7134f.tar.bz2
Merge topic 'cuda_check'
e758331595 cm_cxx_features: Remove CUDA installation warning filtering Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4554
Diffstat (limited to 'Source')
-rw-r--r--Source/Checks/cm_cxx_features.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Checks/cm_cxx_features.cmake b/Source/Checks/cm_cxx_features.cmake
index c16286c..3b00dfb 100644
--- a/Source/Checks/cm_cxx_features.cmake
+++ b/Source/Checks/cm_cxx_features.cmake
@@ -32,8 +32,6 @@ function(cm_check_cxx_feature name)
string(REGEX REPLACE "[^\n]* xcodebuild\\[[0-9]*:[0-9]*\\] warning: [^\n]*" "" check_output "${check_output}")
# Filter out ld warnings.
string(REGEX REPLACE "[^\n]*ld: warning: [^\n]*" "" check_output "${check_output}")
- # Filter out CUDA installation warnings.
- string(REGEX REPLACE "[^\n]*clang: warning: Unknown CUDA version[^\n]*" "" check_output "${check_output}")
# If using the feature causes warnings, treat it as broken/unavailable.
if(check_output MATCHES "(^|[ :])[Ww][Aa][Rr][Nn][Ii][Nn][Gg]")
set(CMake_HAVE_CXX_${FEATURE} OFF CACHE INTERNAL "TRY_COMPILE" FORCE)